summaryrefslogtreecommitdiff
path: root/cut-n-paste-code/libegg/eggdesktopfile.c
diff options
context:
space:
mode:
authorZenWalker <[email protected]>2017-07-16 04:56:55 +0200
committerZenWalker <[email protected]>2017-07-16 04:56:55 +0200
commit93a5e46e96a251b7574859bc1cd211fdbde01c3d (patch)
tree7bef2fd6e07d146879e5e68438023b2b3f547014 /cut-n-paste-code/libegg/eggdesktopfile.c
parenta36653c9b55d879cf8b22cbd2776db4d5c8f0d88 (diff)
downloadcaja-93a5e46e96a251b7574859bc1cd211fdbde01c3d.tar.bz2
caja-93a5e46e96a251b7574859bc1cd211fdbde01c3d.tar.xz
avoid deprecated gdk_screen_get_number
Diffstat (limited to 'cut-n-paste-code/libegg/eggdesktopfile.c')
-rw-r--r--cut-n-paste-code/libegg/eggdesktopfile.c2
1 files changed, 1 insertions, 1 deletions
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;