[dconf] dbus-1: Call g_slist_remove_link instead of g_slist_remove
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf] dbus-1: Call g_slist_remove_link instead of g_slist_remove
- Date: Mon, 19 Mar 2012 15:35:00 +0000 (UTC)
commit 2e777f788c1fad678a8a64bd11de8d642fbbeabc
Author: Albert Astals Cid <albert astals canonical com>
Date: Mon Mar 19 11:12:28 2012 -0400
dbus-1: Call g_slist_remove_link instead of g_slist_remove
https://bugzilla.gnome.org/show_bug.cgi?id=672162
dbus-1/dconf-dbus-1.c | 2 +-
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]