summaryrefslogtreecommitdiff
path: root/gio/gdbusobjectskeleton.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2012-01-02 16:30:11 +0100
committerJavier Jardón <jjardon@gnome.org>2012-01-03 16:53:47 +0100
commit928d2cea616db45a1a0d870fd73aed2570170288 (patch)
tree3a084b66b1681592eafec8246002fadb149e068a /gio/gdbusobjectskeleton.c
parentdde3401122930355f665af25292ad1b639e98390 (diff)
downloadglib-928d2cea616db45a1a0d870fd73aed2570170288.tar.gz
gio/*: Use g_list_free_full() convenience function
Diffstat (limited to 'gio/gdbusobjectskeleton.c')
-rw-r--r--gio/gdbusobjectskeleton.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gio/gdbusobjectskeleton.c b/gio/gdbusobjectskeleton.c
index 1f9deaf34..28881e62b 100644
--- a/gio/gdbusobjectskeleton.c
+++ b/gio/gdbusobjectskeleton.c
@@ -484,8 +484,7 @@ g_dbus_object_skeleton_flush (GDBusObjectSkeleton *object)
for (l = to_flush; l != NULL; l = l->next)
g_dbus_interface_skeleton_flush (G_DBUS_INTERFACE_SKELETON (l->data));
- g_list_foreach (to_flush, (GFunc) g_object_unref, NULL);
- g_list_free (to_flush);
+ g_list_free_full (to_flush, g_object_unref);
}
static void