clutter_actor_set_child_above/below_sibling leaking a reference
https://bugzilla.gnome.org/show_bug.cgi?id=696813
This commit is contained in:
parent
caf6959195
commit
90f68edbda
@ -13314,6 +13314,7 @@ clutter_actor_set_child_above_sibling (ClutterActor *self,
|
|||||||
ADD_CHILD_NOTIFY_FIRST_LAST,
|
ADD_CHILD_NOTIFY_FIRST_LAST,
|
||||||
insert_child_above,
|
insert_child_above,
|
||||||
sibling);
|
sibling);
|
||||||
|
g_object_unref(child);
|
||||||
|
|
||||||
clutter_actor_queue_relayout (self);
|
clutter_actor_queue_relayout (self);
|
||||||
}
|
}
|
||||||
@ -13360,6 +13361,7 @@ clutter_actor_set_child_below_sibling (ClutterActor *self,
|
|||||||
ADD_CHILD_NOTIFY_FIRST_LAST,
|
ADD_CHILD_NOTIFY_FIRST_LAST,
|
||||||
insert_child_below,
|
insert_child_below,
|
||||||
sibling);
|
sibling);
|
||||||
|
g_object_unref(child);
|
||||||
|
|
||||||
clutter_actor_queue_relayout (self);
|
clutter_actor_queue_relayout (self);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user