summaryrefslogtreecommitdiff
path: root/src/ui/frames.c
diff options
context:
space:
mode:
authorZenWalker <[email protected]>2017-07-14 15:07:27 +0200
committerraveit65 <[email protected]>2017-07-15 12:20:25 +0200
commit127e003ef6912473f3e52b49b937c13fab172c1b (patch)
tree886749b4320481797fb470cce1ee3dd6bf4e9086 /src/ui/frames.c
parent7c69bcf4d5b195902c770bcbf84bd8b8c3427059 (diff)
downloadmarco-127e003ef6912473f3e52b49b937c13fab172c1b.tar.bz2
marco-127e003ef6912473f3e52b49b937c13fab172c1b.tar.xz
avoid deprecated gdk_screen_get_number
Diffstat (limited to 'src/ui/frames.c')
-rw-r--r--src/ui/frames.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/frames.c b/src/ui/frames.c
index 889f739d..2703f448 100644
--- a/src/ui/frames.c
+++ b/src/ui/frames.c
@@ -1169,7 +1169,7 @@ show_tip_now (MetaFrames *frames)
if (meta_ui_get_direction() == META_UI_DIRECTION_RTL)
dx += rect->width;
- screen_number = gdk_screen_get_number (gtk_widget_get_screen (GTK_WIDGET (frames)));
+ screen_number = gdk_x11_screen_get_screen_number (gtk_widget_get_screen (GTK_WIDGET (frames)));
meta_fixed_tip_show (screen_number,
rect->x + dx,