From 93a5e46e96a251b7574859bc1cd211fdbde01c3d Mon Sep 17 00:00:00 2001 From: ZenWalker Date: Sun, 16 Jul 2017 04:56:55 +0200 Subject: avoid deprecated gdk_screen_get_number --- cut-n-paste-code/libegg/eggdesktopfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cut-n-paste-code') diff --git a/cut-n-paste-code/libegg/eggdesktopfile.c b/cut-n-paste-code/libegg/eggdesktopfile.c index 7afb6a2f..011b7fd2 100644 --- a/cut-n-paste-code/libegg/eggdesktopfile.c +++ b/cut-n-paste-code/libegg/eggdesktopfile.c @@ -1187,7 +1187,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