From 78e879eb00de98d25a88ea2fa6e0ce5897d39579 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Mon, 17 Jul 2017 11:46:50 +0200 Subject: [PATCH] avoid deprecated gdk_screen_get_number --- src/cact/egg-desktop-file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cact/egg-desktop-file.c b/src/cact/egg-desktop-file.c index d4ea792..b591450 100644 --- a/src/cact/egg-desktop-file.c +++ b/src/cact/egg-desktop-file.c @@ -1185,7 +1185,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;