[container] unset the child meta qdata on the child, not the container

In the default implementation of container::destroy_child_meta Set child
meta qdata to NULL on the child and not the container, since the child
is the object that owns the data.
This commit is contained in:
Øyvind Kolås 2009-09-21 15:55:58 +01:00
parent d4e46bb893
commit b2f958a618

View File

@ -749,7 +749,7 @@ destroy_child_meta (ClutterContainer *container,
if (iface->child_meta_type == G_TYPE_INVALID) if (iface->child_meta_type == G_TYPE_INVALID)
return; return;
g_object_set_qdata (object, quark_child_meta, NULL); g_object_set_qdata (actor, quark_child_meta, NULL);
} }
/** /**