summaryrefslogtreecommitdiff
path: root/src/core/session.c
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2014-06-04 10:00:21 +0300
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2014-06-04 10:00:21 +0300
commit8d19afdcccaec28a5512b0a707d8238b9dd4e2f3 (patch)
treeab938975c251bec551b3ca89d1a9e084608513f6 /src/core/session.c
parentc26880c6e2d35a9851992263926ea77351582961 (diff)
downloadmetacity-8d19afdcccaec28a5512b0a707d8238b9dd4e2f3.tar.gz
Update meta_show_dialog for gtk's removal of --screen
gtk3 no longer has the --screen command-line argument, which metacity was passing to zenity. Use --display (with an explicitly-specified screen number) instead. Author: Dan Winship Bug: https://bugzilla.gnome.org/show_bug.cgi?id=687938
Diffstat (limited to 'src/core/session.c')
-rw-r--r--src/core/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/session.c b/src/core/session.c
index f60afc38..ab6b54e2 100644
--- a/src/core/session.c
+++ b/src/core/session.c
@@ -1807,7 +1807,7 @@ warn_about_lame_clients_and_finish_interact (gboolean shutdown)
"and will have to be restarted manually next time "
"you log in."),
"240",
- meta_screen_get_screen_number (meta_get_display()->active_screen),
+ meta_get_display()->active_screen->screen_name,
NULL, NULL,
None,
columns,