diff options
author | lukefromdc <[email protected]> | 2023-10-01 17:23:17 -0400 |
---|---|---|
committer | Luke from DC <[email protected]> | 2023-10-05 20:02:07 +0000 |
commit | a6ea51bbaf4b9edf3bab3fea5daf0d0bb30b5d7a (patch) | |
tree | 4dd97614c96757c7f6298d7e7530cc718e6dc015 | |
parent | 4c6fc7e38e6d482bbe1172fdda9302a9e58c357e (diff) | |
download | mate-panel-a6ea51bbaf4b9edf3bab3fea5daf0d0bb30b5d7a.tar.bz2 mate-panel-a6ea51bbaf4b9edf3bab3fea5daf0d0bb30b5d7a.tar.xz |
Wayland: Fix force-quit unsupported message dialog
*For some reason "widget" is not being properly passed to this, so use NULL for the parent window
-rw-r--r-- | mate-panel/panel-action-button.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mate-panel/panel-action-button.c b/mate-panel/panel-action-button.c index af3a7ccf..e957d44d 100644 --- a/mate-panel/panel-action-button.c +++ b/mate-panel/panel-action-button.c @@ -471,7 +471,7 @@ panel_action_force_quit (GtkWidget *widget) } #endif flags = GTK_DIALOG_DESTROY_WITH_PARENT; - dialog = gtk_message_dialog_new (GTK_WINDOW (widget), + dialog = gtk_message_dialog_new (NULL, flags, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, |