summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZenWalker <[email protected]>2017-07-18 01:30:50 +0200
committerraveit65 <[email protected]>2017-07-18 16:01:10 +0200
commite78b50d982f48ff742d5738648c2637fc652e7cc (patch)
tree058619cc3150a339ef926e1febb949ed660771dc /src
parenta649e9f10c48665b9744bed038f95220b74b393a (diff)
downloadmate-terminal-e78b50d982f48ff742d5738648c2637fc652e7cc.tar.bz2
mate-terminal-e78b50d982f48ff742d5738648c2637fc652e7cc.tar.xz
avoid deprecated gdk_screen_get_number
Diffstat (limited to 'src')
-rw-r--r--src/eggdesktopfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eggdesktopfile.c b/src/eggdesktopfile.c
index 72f3cfb..a57b091 100644
--- a/src/eggdesktopfile.c
+++ b/src/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;