diff options
author | Nick Schermer <nick@xfce.org> | 2012-04-28 21:51:45 +0200 |
---|---|---|
committer | Nick Schermer <nick@xfce.org> | 2012-04-28 21:51:45 +0200 |
commit | 0a0d8be6c90c64aa8d594e82e1867af39d9e3075 (patch) | |
tree | 83e385428623fbaf6dcd753f62f6e824f5578a6b /xfconf | |
parent | 4e0ea06078130a5e63fa1e0afd16b109b6502b03 (diff) | |
download | xfconf-0a0d8be6c90c64aa8d594e82e1867af39d9e3075.tar.gz |
Updates for release.xfconf-4.10.0
Diffstat (limited to 'xfconf')
-rw-r--r-- | xfconf/xfconf-cache.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xfconf/xfconf-cache.c b/xfconf/xfconf-cache.c index 36bd03e..1dc2e1f 100644 --- a/xfconf/xfconf-cache.c +++ b/xfconf/xfconf-cache.c @@ -751,10 +751,8 @@ xfconf_cache_set(XfconfCache *cache, dbus_error_name = dbus_g_error_get_name(tmp_error); } - if(G_UNLIKELY(!dbus_error_name - || strncmp(dbus_error_name, "org.xfce.Xfconf.Error.", 22) - || (strcmp(dbus_error_name+22, "PropertyNotFound") - && strcmp(dbus_error_name+22, "ChannelNotFound")))) + if(g_strcmp0(dbus_error_name, "org.xfce.Xfconf.Error.PropertyNotFound") != 0 + && g_strcmp0(dbus_error_name, "org.xfce.Xfconf.Error.ChannelNotFound") != 0) { /* this is bad... */ g_propagate_error(error, tmp_error); |