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

static void sp_style_fill_paint_server_ref_changed ( SPObject old_ref,
SPObject ref,
SPStyle style 
) [static]

Gets called when the paintserver is (re)attached to the style

Definition at line 410 of file style.cpp.

References SPObject::connectModified(), SPStyle::fill_ps_modified_connection, and sp_style_paint_server_ref_modified().

Referenced by sp_style_clear(), and sp_style_read_ipaint().

{
    if (old_ref) {
        style->fill_ps_modified_connection.disconnect();
    }
    if (SP_IS_PAINT_SERVER(ref)) {
        style->fill_ps_modified_connection = 
           ref->connectModified(sigc::bind(sigc::ptr_fun(&sp_style_paint_server_ref_modified), style));
    }

    sp_style_paint_server_ref_modified(ref, 0, style);
}


Generated by  Doxygen 1.6.0   Back to index