From 5487f8cf937e789295de81c5a89511db15d50c91 Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Mon, 17 Dec 2012 00:45:43 +0100 Subject: [PATCH] WorkspacesView: don't use clutter_actor_reparent() It's deprecated and in this case is not needed because at that point the actor hasn't been parented yet. https://bugzilla.gnome.org/show_bug.cgi?id=688234 --- js/ui/workspacesView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js index 4d22f352f..2fc3fb8a8 100644 --- a/js/ui/workspacesView.js +++ b/js/ui/workspacesView.js @@ -69,7 +69,7 @@ const WorkspacesView = new Lang.Class({ // Add workspace actors for (let w = 0; w < global.screen.n_workspaces; w++) - this._workspaces[w].actor.reparent(this.actor); + this.actor.add_actor(this._workspaces[w].actor); this._workspaces[activeWorkspaceIndex].actor.raise_top(); this._extraWorkspaces = [];