From 1485b851c47927c9f60b57d98a8895283913caf1 Mon Sep 17 00:00:00 2001 From: ZenWalker Date: Thu, 20 Jul 2017 01:11:28 +0200 Subject: avoid deprecated gdk_screen_get_number --- egg/eggdesktopfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.1