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>
|
2006-06-05 Matthew Allum <mallum@openedhand.com>
|
||||||
|
|
||||||
* clutter/clutter-event.h:
|
* clutter/clutter-event.h:
|
||||||
|
@ -438,7 +438,7 @@ clutter_group_remove (ClutterGroup *self,
|
|||||||
g_return_if_fail (CLUTTER_IS_ELEMENT (element));
|
g_return_if_fail (CLUTTER_IS_ELEMENT (element));
|
||||||
|
|
||||||
parent = clutter_element_get_parent (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 "
|
g_warning ("Attempting to remove element of type `%s' from "
|
||||||
"group of class `%s', but the group is not the "
|
"group of class `%s', but the group is not the "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user