* clutter/clutter-group.c: (clutter_group_remove):
Fix parent check.
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:
Remove send_event field. Clutter shouldn't need it.
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 "