From c38bbd2708a3bcb3930a4b4d0a6da74b24b08df2 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Fri, 23 Jun 2006 10:32:42 +0000 Subject: [PATCH] 2006-06-23 Emmanuele Bassi * clutter/clutter-group.c (clutter_group_get_children): Mention that you must free the returned list otherwise you'll leak stuff all around. --- ChangeLog | 6 ++++++ clutter/clutter-group.c | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 46e04d5a7..6531ab9dd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-06-23 Emmanuele Bassi + + * clutter/clutter-group.c + (clutter_group_get_children): Mention that you must free + the returned list otherwise you'll leak stuff all around. + 2006-06-23 Ross Burton * examples/super-oh.c: diff --git a/clutter/clutter-group.c b/clutter/clutter-group.c index e4c488ba8..6b35a54e2 100644 --- a/clutter/clutter-group.c +++ b/clutter/clutter-group.c @@ -297,8 +297,10 @@ clutter_group_new (void) * * Get a list containing all actors contained in the group. * - * Return value: A GList containing child #ClutterActors. - **/ + * Return value: A GList containing child #ClutterActors. You + * should free the returned list using g_list_free() when + * finished using it. + */ GList* clutter_group_get_children (ClutterGroup *self) {