summaryrefslogtreecommitdiff
path: root/src/core/delete.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-10-24 16:31:11 +0200
committerinfirit <[email protected]>2014-10-24 16:36:19 +0200
commit49e91bc9093010e269816da1df763a0374dbc515 (patch)
treecc62723c60743e4df53286c0bc9a9f13c645ef1b /src/core/delete.c
parentbbdef45fbb7c7addea5a3be99fbebf823d83192d (diff)
downloadmarco-49e91bc9093010e269816da1df763a0374dbc515.tar.bz2
marco-49e91bc9093010e269816da1df763a0374dbc515.tar.xz
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 Based on metacity commit: 8d19afdcccaec28a5512b0a707d8238b9dd4e2f3
Diffstat (limited to 'src/core/delete.c')
-rw-r--r--src/core/delete.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/delete.c b/src/core/delete.c
index 42360a5a..a93a2ac7 100644
--- a/src/core/delete.c
+++ b/src/core/delete.c
@@ -105,8 +105,8 @@ delete_ping_timeout_func (MetaDisplay *display,
dialog_pid =
meta_show_dialog ("--question",
- window_content, 0,
- window->screen->number,
+ window_content, NULL,
+ window->screen->screen_name,
_("_Wait"), _("_Force Quit"), window->xwindow,
NULL, NULL);