mirror of
https://github.com/brl/mutter.git
synced 2024-11-28 19:10:43 -05:00
2006-06-05 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-group.c: (clutter_group_remove): Fix parent check.
This commit is contained in:
parent
7806e409fb
commit
f040e5b0da
@ -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:
|
||||
|
@ -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 "
|
||||
|
Loading…
Reference in New Issue
Block a user