1
0
Fork 0

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

Set child meta qdata on the child and not the container, since the child is
the object that owns the data.
This commit is contained in:
Thomas Wood 2009-09-21 15:40:53 +01:00
parent 1c3d5a0e87
commit d4e46bb893

View file

@ -734,7 +734,7 @@ create_child_meta (ClutterContainer *container,
"actor", actor, "actor", actor,
NULL); NULL);
g_object_set_qdata_full (G_OBJECT (container), quark_child_meta, g_object_set_qdata_full (G_OBJECT (actor), quark_child_meta,
child_meta, child_meta,
(GDestroyNotify) g_object_unref); (GDestroyNotify) g_object_unref);
} }