summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-desktop-item.c
diff options
context:
space:
mode:
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,