diff --git a/ChangeLog b/ChangeLog index a75c34dbb..c3f6b0a4e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-06-05 Matthew Allum + + * clutter/clutter-group.c: (clutter_group_remove): + Fix parent check. + 2006-06-05 Matthew Allum * clutter/clutter-event.h: diff --git a/clutter/clutter-group.c b/clutter/clutter-group.c index 9de908b99..7128fcc57 100644 --- a/clutter/clutter-group.c +++ b/clutter/clutter-group.c @@ -438,7 +438,7 @@ clutter_group_remove (ClutterGroup *self, g_return_if_fail (CLUTTER_IS_ELEMENT (element)); parent = clutter_element_get_parent (element); - if (element != CLUTTER_ELEMENT (self)) + if (parent != CLUTTER_ELEMENT (self)) { g_warning ("Attempting to remove element of type `%s' from " "group of class `%s', but the group is not the "