This reverts commit
81b19a78f5e02ae8ffd9235054d80b172496415b.
The commit breaks the conformance test unit for the invariants we
guarantee for the 1.x API:
ERROR:actor-invariants.c:307:actor_show_on_set_parent: assertion failed: (show_on_set_parent)
if (priv->show_on_set_parent == set_show)
return;
- priv->show_on_set_parent = set_show;
- g_object_notify_by_pspec (G_OBJECT (self),
- obj_props[PROP_SHOW_ON_SET_PARENT]);
+ if (priv->parent == NULL)
+ {
+ priv->show_on_set_parent = set_show;
+ g_object_notify_by_pspec (G_OBJECT (self),
+ obj_props[PROP_SHOW_ON_SET_PARENT]);
+ }
}
/**