summaryrefslogtreecommitdiff
path: root/src/ui/tabpopup.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/ui/tabpopup.c
parentc3ab92182c2a97d74c5b8cbd6dade9b48fab5c95 (diff)
downloadmarco-ed1a6302c87c6070bbec549ec36c5b56c12a6564.tar.bz2
marco-ed1a6302c87c6070bbec549ec36c5b56c12a6564.tar.xz
avoid deprecated gdk_display_get_screen
Diffstat (limited to 'src/ui/tabpopup.c')
-rw-r--r--src/ui/tabpopup.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ui/tabpopup.c b/src/ui/tabpopup.c
index 8bbf91ef..a9e6d35e 100644
--- a/src/ui/tabpopup.c
+++ b/src/ui/tabpopup.c
@@ -214,7 +214,6 @@ tab_entry_new (const MetaTabEntry *entry,
MetaTabPopup*
meta_ui_tab_popup_new (const MetaTabEntry *entries,
- int screen_number,
int entry_count,
int width,
gint border)
@@ -235,8 +234,7 @@ meta_ui_tab_popup_new (const MetaTabEntry *entries,
popup->outline_window = gtk_window_new (GTK_WINDOW_POPUP);
- screen = gdk_display_get_screen (gdk_display_get_default (),
- screen_number);
+ screen = gdk_display_get_default_screen (gdk_display_get_default ());
gtk_window_set_screen (GTK_WINDOW (popup->outline_window),
screen);