summaryrefslogtreecommitdiff
path: root/src/core/screen.c
diff options
context:
space:
mode:
authorZenWalker <[email protected]>2017-07-29 02:10:08 +0200
committerZenWalker <[email protected]>2017-07-29 02:10:08 +0200
commited1a6302c87c6070bbec549ec36c5b56c12a6564 (patch)
tree1e5042d3a0e8159065360af12d9f9467d6f5f134 /src/core/screen.c
parentc3ab92182c2a97d74c5b8cbd6dade9b48fab5c95 (diff)
downloadmarco-ed1a6302c87c6070bbec549ec36c5b56c12a6564.tar.bz2
marco-ed1a6302c87c6070bbec549ec36c5b56c12a6564.tar.xz
avoid deprecated gdk_display_get_screen
Diffstat (limited to 'src/core/screen.c')
-rw-r--r--src/core/screen.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/screen.c b/src/core/screen.c
index 98ecf4db..28d2febf 100644
--- a/src/core/screen.c
+++ b/src/core/screen.c
@@ -1399,7 +1399,6 @@ meta_screen_ensure_tab_popup (MetaScreen *screen,
}
screen->tab_popup = meta_ui_tab_popup_new (entries,
- screen->number,
len,
5, /* FIXME */
border);
@@ -1471,7 +1470,6 @@ meta_screen_ensure_workspace_popup (MetaScreen *screen)
}
screen->tab_popup = meta_ui_tab_popup_new (entries,
- screen->number,
len,
layout.cols,
BORDER_OUTLINE_WORKSPACE);
@@ -1492,7 +1490,7 @@ meta_screen_tile_preview_update_timeout (gpointer data)
screen->tile_preview_timeout_id = 0;
if (!screen->tile_preview)
- screen->tile_preview = meta_tile_preview_new (screen->number);
+ screen->tile_preview = meta_tile_preview_new ();
if (window)
{