diff options
author | Brian J. Tarricone <brian@tarricone.org> | 2009-09-04 20:35:32 -0700 |
---|---|---|
committer | Brian J. Tarricone <brian@tarricone.org> | 2009-09-04 20:38:31 -0700 |
commit | eb2e307ffda8df9c8588bb9db77c3a411b8ce0fe (patch) | |
tree | 3aeef07fcd2e6707b78dedbd1563f6eec88f2720 /xfconf/xfconf-cache.c | |
parent | acb9b2085364aa860aed4df663cb95b8931d5a18 (diff) | |
download | xfconf-eb2e307ffda8df9c8588bb9db77c3a411b8ce0fe.tar.gz |
emit proper arguments on XfconfCache::property-changed signal (bug 5734)
that's what happens when you copy and paste and don't change the
arguments. also remove the G_SIGNAL_DETAILED flag for property-changed
since we don't really need it for XfconfCache (just for XfconfChannel).
Diffstat (limited to 'xfconf/xfconf-cache.c')
-rw-r--r-- | xfconf/xfconf-cache.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/xfconf/xfconf-cache.c b/xfconf/xfconf-cache.c index 049436c..67f9edb 100644 --- a/xfconf/xfconf-cache.c +++ b/xfconf/xfconf-cache.c @@ -235,8 +235,7 @@ xfconf_cache_class_init(XfconfCacheClass *klass) signals[SIG_PROPERTY_CHANGED] = g_signal_new("property-changed", XFCONF_TYPE_CACHE, - G_SIGNAL_RUN_LAST - | G_SIGNAL_DETAILED, + G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET(XfconfCacheClass, property_changed), NULL, @@ -418,8 +417,8 @@ xfconf_cache_property_changed(DBusGProxy *proxy, } if(changed) { - g_signal_emit(G_OBJECT(cache), signals[SIG_PROPERTY_CHANGED], - g_quark_from_string(property), property, value); + g_signal_emit(G_OBJECT(cache), signals[SIG_PROPERTY_CHANGED], 0, + cache->channel_name, property, value); } } |