summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZenWalker <[email protected]>2017-07-20 01:51:10 +0200
committerZenWalker <[email protected]>2017-07-20 01:51:10 +0200
commit46addda709978a877faaeb66f966812fecc4bb49 (patch)
treed0ca263f7cdfec727bbc63dc01e0ffe7cada20e6
parent8b8c266ce123ed8c866ff3e9267842509d62202d (diff)
downloadengrampa-46addda709978a877faaeb66f966812fecc4bb49.tar.bz2
engrampa-46addda709978a877faaeb66f966812fecc4bb49.tar.xz
avoid deprecated gdk_screen_get_number
-rw-r--r--copy-n-paste/eggdesktopfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/copy-n-paste/eggdesktopfile.c b/copy-n-paste/eggdesktopfile.c
index a380787..5c09cdc 100644
--- a/copy-n-paste/eggdesktopfile.c
+++ b/copy-n-paste/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;