summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-desktop-item.c
diff options
context:
space:
mode:
authorZenWalker <[email protected]>2017-07-17 01:23:02 +0200
committerraveit65 <[email protected]>2017-08-05 17:12:05 +0200
commit4cfcd65955e4ee3f22818bf5540196fb38c8bce5 (patch)
tree7090ced9e25f2c6bfba1785f4abe56fd03340059 /libmate-desktop/mate-desktop-item.c
parent133c20a27945b1fb370f5a52dc273830aeaa19e8 (diff)
downloadmate-desktop-4cfcd65955e4ee3f22818bf5540196fb38c8bce5.tar.bz2
mate-desktop-4cfcd65955e4ee3f22818bf5540196fb38c8bce5.tar.xz
avoid deprecated gdk_screen_get_number
Diffstat (limited to 'libmate-desktop/mate-desktop-item.c')
-rw-r--r--libmate-desktop/mate-desktop-item.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmate-desktop/mate-desktop-item.c b/libmate-desktop/mate-desktop-item.c
index 00fe5a9..e7b2533 100644
--- a/libmate-desktop/mate-desktop-item.c
+++ b/libmate-desktop/mate-desktop-item.c
@@ -1822,7 +1822,7 @@ ditem_execute (const MateDesktopItem *item,
const char *icon;
sn_context = sn_launcher_context_new (sn_display,
- screen ? gdk_screen_get_number (screen) :
+ screen ? gdk_x11_screen_get_screen_number (screen) :
DefaultScreen (GDK_DISPLAY_XDISPLAY (gdkdisplay)));
name = mate_desktop_item_get_localestring (item,