2006-06-05 Matthew Allum <mallum@openedhand.com>

* clutter/clutter-group.c: (clutter_group_remove):
        Fix parent check.
This commit is contained in:
Matthew Allum 2006-06-05 21:49:25 +00:00
parent 7806e409fb
commit f040e5b0da
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-06-05 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-group.c: (clutter_group_remove):
Fix parent check.
2006-06-05 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-event.h:

View File

@ -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 "