summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b17cf0c)
raw | patch | inline | side by side (parent: b17cf0c)
author | kiirala <kiirala@users.sourceforge.net> | |
Thu, 27 Jul 2006 14:25:48 +0000 (14:25 +0000) | ||
committer | kiirala <kiirala@users.sourceforge.net> | |
Thu, 27 Jul 2006 14:25:48 +0000 (14:25 +0000) |
src/sp-filter.cpp | patch | blob | history |
diff --git a/src/sp-filter.cpp b/src/sp-filter.cpp
index 116b132bc8f40f4e27459a9ac92e49215b980cf1..d7229bda16c60c62a4ec92a90e18c070a25ec5f4 100644 (file)
--- a/src/sp-filter.cpp
+++ b/src/sp-filter.cpp
static Inkscape::XML::Node *sp_filter_write(SPObject *object, Inkscape::XML::Node *repr, guint flags);
static void filter_ref_changed(SPObject *old_ref, SPObject *ref, SPFilter *filter);
-static void filter_ref_modified(SPObject *href, SPFilter *filter);
+static void filter_ref_modified(SPObject *href, guint flags, SPFilter *filter);
static SPObjectClass *filter_parent_class;
if ( SP_IS_FILTER(ref)
&& ref != filter )
{
- g_signal_connect(G_OBJECT(ref), "modified", G_CALLBACK(filter_ref_modified), filter);
+ ref->connectModified(sigc::bind(sigc::ptr_fun(&filter_ref_modified), filter));
+ //g_signal_connect(G_OBJECT(ref), "modified", G_CALLBACK(filter_ref_modified), filter);
}
- filter_ref_modified(ref, filter);
+ filter_ref_modified(ref, 0, filter);
}
static void
-filter_ref_modified(SPObject *href, SPFilter *filter)
+filter_ref_modified(SPObject *href, guint flags, SPFilter *filter)
{
SP_OBJECT(filter)->requestModified(SP_OBJECT_MODIFIED_FLAG);
}