* clutter/clutter-box.c (clutter_box_dispose): Call unparent()
on the children, instead of destroy(), to avoid a double free
and a crash when destroying a ClutterBox.
2007-11-06 Emmanuele Bassi <ebassi@openedhand.com>
+ * clutter/clutter-box.c (clutter_box_dispose): Call unparent()
+ on the children, instead of destroy(), to avoid a double free
+ and a crash when destroying a ClutterBox.
+
+2007-11-06 Emmanuele Bassi <ebassi@openedhand.com>
+
* clutter/clutter-label.c: Break the references in ::dispose,
and free the resources in ::finalize.
{
ClutterBoxChild *child = l->data;
- clutter_actor_destroy (child->actor);
+ clutter_actor_unparent (child->actor);
g_slice_free (ClutterBoxChild, child);
}