summaryrefslogtreecommitdiff
path: root/dbus-1
diff options
context:
space:
mode:
authorAlbert Astals Cid <albert.astals@canonical.com>2012-03-19 11:12:28 -0400
committerRyan Lortie <desrt@desrt.ca>2012-03-19 11:13:01 -0400
commit2e777f788c1fad678a8a64bd11de8d642fbbeabc (patch)
treeb6c572fc4e6a8793ba4288c3f01359a107e75a90 /dbus-1
parent2bbdd581dcb97e61ed29edcfdee92da8f2d1758a (diff)
downloaddconf-2e777f788c1fad678a8a64bd11de8d642fbbeabc.tar.gz
dbus-1: Call g_slist_remove_link instead of g_slist_remove
https://bugzilla.gnome.org/show_bug.cgi?id=672162
Diffstat (limited to 'dbus-1')
-rw-r--r--dbus-1/dconf-dbus-1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus-1/dconf-dbus-1.c b/dbus-1/dconf-dbus-1.c
index a1fd98a..50dc0f8 100644
--- a/dbus-1/dconf-dbus-1.c
+++ b/dbus-1/dconf-dbus-1.c
@@ -597,7 +597,7 @@ dconf_dbus_client_unsubscribe (DConfDBusClient *dcdbc,
if (watch->notify == notify && watch->user_data == user_data)
{
- *ptr = g_slist_remove (*ptr, *ptr);
+ *ptr = g_slist_remove_link (*ptr, *ptr);
dconf_engine_unwatch (dcdbc->engine, watch->name, &dcem);
dconf_dbus_client_send (dcdbc, &dcem, NULL, NULL);