summaryrefslogtreecommitdiff
path: root/egg/eggdesktopfile.c
diff options
context:
space:
mode:
authorZenWalker <[email protected]>2017-07-20 01:11:28 +0200
committerZenWalker <[email protected]>2017-07-20 01:11:28 +0200
commit1485b851c47927c9f60b57d98a8895283913caf1 (patch)
tree1472cc9cb15e6a1721320d109ed31dee95da5269 /egg/eggdesktopfile.c
parent31aaf343c8c96401973d947096c75de3367cf977 (diff)
downloadmate-session-manager-1485b851c47927c9f60b57d98a8895283913caf1.tar.bz2
mate-session-manager-1485b851c47927c9f60b57d98a8895283913caf1.tar.xz
avoid deprecated gdk_screen_get_number
Diffstat (limited to 'egg/eggdesktopfile.c')
-rw-r--r--egg/eggdesktopfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/egg/eggdesktopfile.c b/egg/eggdesktopfile.c
index ca45eab..07b71bd 100644
--- a/egg/eggdesktopfile.c
+++ b/egg/eggdesktopfile.c
@@ -1184,7 +1184,7 @@ egg_desktop_file_launchv (EggDesktopFile *desktop_file,
display = gdk_display_get_default ();
screen = gdk_display_get_default_screen (display);
}
- screen_num = gdk_screen_get_number (screen);
+ screen_num = gdk_x11_screen_get_screen_number (screen);
translated_documents = translate_document_list (desktop_file, documents);
docs = translated_documents;