Logo Search packages:      
Sourcecode: inkscape version File versions

static void filter_ref_changed ( SPObject old_ref,
SPObject ref,
SPFilter *  filter 
) [static]

Gets called when the filter is (re)attached to another filter.

Definition at line 361 of file sp-filter.cpp.

References SPObject::connectModified().

{
    if (old_ref) {
        filter->modified_connection.disconnect();
    }
    if ( SP_IS_FILTER(ref)
         && ref != filter )
    {
        filter->modified_connection =
            ref->connectModified(sigc::bind(sigc::ptr_fun(&filter_ref_modified), filter));
    }

    filter_ref_modified(ref, 0, filter);
}


Generated by  Doxygen 1.6.0   Back to index