summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2013-02-04 12:37:49 +0100
committerRyan Lortie <desrt@desrt.ca>2013-02-11 13:36:09 -0500
commit4c516a76f55d75ecfa1b985adb1905cac945f3fe (patch)
tree19d0d22ce73ee8d5c19f2c39135b537ab17f2266 /client
parent9d0b53f86371a459615e9872a5b835b917a568ae (diff)
downloaddconf-4c516a76f55d75ecfa1b985adb1905cac945f3fe.tar.gz
engine, gsettings: prevent empty changesets
We should not send empty changesets to the service so just ignore them when we get them. This now means that an empty 'dconf load' will not send any D-Bus messages (and will not cause D-Bus activation).
Diffstat (limited to 'client')
-rw-r--r--client/dconf-client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/dconf-client.c b/client/dconf-client.c
index c7c2e9e..534132f 100644
--- a/client/dconf-client.c
+++ b/client/dconf-client.c
@@ -441,7 +441,8 @@ dconf_client_change_fast (DConfClient *client,
*
* If @tag is non-%NULL then it is set to the unique tag associated with
* this change. This is the same tag that will appear in the following
- * change signal.
+ * change signal. If @changeset makes no changes then @tag may be
+ * non-unique (eg: the empty string may be used for empty changesets).
*
* Returns: %TRUE on success, else %FALSE with @error set
**/