[gnome-shell] Fix single-actor widgets
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] Fix single-actor widgets
- Date: Thu, 25 Feb 2010 19:43:19 +0000 (UTC)
commit a4feb91644f29b043f4ea7695ca108faf0652ce4
Author: Dan Winship <danw gnome org>
Date: Tue Jul 7 13:21:05 2009 -0400
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
js/ui/widgetBox.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/widgetBox.js b/js/ui/widgetBox.js
index 0c413e9..10cb362 100644
--- a/js/ui/widgetBox.js
+++ b/js/ui/widgetBox.js
@@ -196,7 +196,7 @@ WidgetBox.prototype = {
this._egroup.show();
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);
}
@@ -244,7 +244,7 @@ WidgetBox.prototype = {
this._cgroup.show();
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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]