mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 04:22:05 +00:00
[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:
parent
d4e46bb893
commit
b2f958a618
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user