clutter_actor_set_child_above/below_sibling leaking a reference

https://bugzilla.gnome.org/show_bug.cgi?id=696813
This commit is contained in:
Craig R. Hughes 2013-03-28 13:51:41 -07:00 committed by Emmanuele Bassi
parent caf6959195
commit 90f68edbda

View File

@ -13314,6 +13314,7 @@ clutter_actor_set_child_above_sibling (ClutterActor *self,
ADD_CHILD_NOTIFY_FIRST_LAST,
insert_child_above,
sibling);
g_object_unref(child);
clutter_actor_queue_relayout (self);
}
@ -13360,6 +13361,7 @@ clutter_actor_set_child_below_sibling (ClutterActor *self,
ADD_CHILD_NOTIFY_FIRST_LAST,
insert_child_below,
sibling);
g_object_unref(child);
clutter_actor_queue_relayout (self);
}