Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

static void sp_style_filter_ref_modified ( SPObject obj,
guint  flags,
SPStyle style 
) [static]

Emit style modified signal on style's object if the filter changed.

Definition at line 340 of file style.cpp.

References SPStyle::getFilter(), SPStyle::object, and SPObject::requestModified().

Referenced by sp_style_filter_ref_changed().

{
    (void)flags; // TODO
    SPFilter *filter=static_cast<SPFilter *>(obj);
    if (style->getFilter() == filter)
    {
        if (style->object) {
            style->object->requestModified(SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_STYLE_MODIFIED_FLAG);
        }
    }
}


Generated by  Doxygen 1.6.0   Back to index