From 78dc480e869caecf03d7d5bdbec63c4231481082 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Wed, 7 Mar 2012 21:32:34 +0000 Subject: [PATCH] screen: don't use unreffed pointer --- src/core/screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/screen.c b/src/core/screen.c index ba2b96717..5145df546 100644 --- a/src/core/screen.c +++ b/src/core/screen.c @@ -1492,7 +1492,7 @@ meta_screen_remove_workspace (MetaScreen *screen, MetaWorkspace *workspace, /* If deleting a workspace before the current workspace, the active * workspace index changes, so we need to update that hint */ if (active_index_changed) - meta_screen_set_active_workspace_hint (workspace->screen); + meta_screen_set_active_workspace_hint (screen); l = next; while (l)