summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian J. Tarricone <brian@tarricone.org>2009-09-03 20:03:24 -0700
committerBrian J. Tarricone <brian@tarricone.org>2009-09-03 20:03:24 -0700
commitacb9b2085364aa860aed4df663cb95b8931d5a18 (patch)
tree6d82843bf58caa58f31b04d47406d03b06726b7c
parent0aa4faca0929d45902e878fd859aba37c35d04e7 (diff)
downloadxfconf-acb9b2085364aa860aed4df663cb95b8931d5a18.tar.gz
don't emit property-changed twice (bug 5718)
this can cause infinite loops because the XfconfCache will avoid emitting property-changed if set() is called which re-sets the value to the already-set value, but XfconfChannel would emit the signal no matter what.
-rw-r--r--xfconf/xfconf-channel.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/xfconf/xfconf-channel.c b/xfconf/xfconf-channel.c
index 09f453e..5d3178a 100644
--- a/xfconf/xfconf-channel.c
+++ b/xfconf/xfconf-channel.c
@@ -396,9 +396,6 @@ xfconf_channel_set_internal(XfconfChannel *channel,
if(real_property != property)
g_free(real_property);
- if(ret)
- g_signal_emit(channel, signals[SIG_PROPERTY_CHANGED], 0, property, value);
-
return ret;
}