[mutter] screen: don't use unreffed pointer
- From: Lionel Landwerlin <llandwerlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] screen: don't use unreffed pointer
- Date: Mon, 19 Mar 2012 14:59:31 +0000 (UTC)
commit 78dc480e869caecf03d7d5bdbec63c4231481082
Author: Lionel Landwerlin <lionel g landwerlin linux intel com>
Date: Wed Mar 7 21:32:34 2012 +0000
screen: don't use unreffed pointer
src/core/screen.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/core/screen.c b/src/core/screen.c
index ba2b967..5145df5 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]