Fix single-actor widgets
clutter_actor_unparent() is for use by container implementations only, unlike gtk_widget_unparent() https://bugzilla.gnome.org/show_bug.cgi?id=588090
This commit is contained in:
parent
778fd72e22
commit
a4feb91644
@ -196,7 +196,7 @@ WidgetBox.prototype = {
|
|||||||
this._egroup.show();
|
this._egroup.show();
|
||||||
|
|
||||||
if (this._singleActor) {
|
if (this._singleActor) {
|
||||||
this._widget.actor.unparent();
|
this._widget.actor.get_parent().remove_actor(this._widget.actor);
|
||||||
this._ebox.append(this._widget.actor, Big.BoxPackFlags.NONE);
|
this._ebox.append(this._widget.actor, Big.BoxPackFlags.NONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -244,7 +244,7 @@ WidgetBox.prototype = {
|
|||||||
this._cgroup.show();
|
this._cgroup.show();
|
||||||
|
|
||||||
if (this._singleActor) {
|
if (this._singleActor) {
|
||||||
this._widget.actor.unparent();
|
this._widget.actor.get_parent().remove_actor(this._widget.actor);
|
||||||
this._cbox.append(this._widget.actor, Big.BoxPackFlags.NONE);
|
this._cbox.append(this._widget.actor, Big.BoxPackFlags.NONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user