summaryrefslogtreecommitdiff
path: root/cut-n-paste/smclient/eggdesktopfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'cut-n-paste/smclient/eggdesktopfile.c')
-rw-r--r--cut-n-paste/smclient/eggdesktopfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cut-n-paste/smclient/eggdesktopfile.c b/cut-n-paste/smclient/eggdesktopfile.c
index d50a1bcf..3c48d86a 100644
--- a/cut-n-paste/smclient/eggdesktopfile.c
+++ b/cut-n-paste/smclient/eggdesktopfile.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;