[Xfce4-commits] [apps/xfce4-terminal] 01/01: Resolve the Gtk-CRITICAL message when closing window via the menu
noreply at xfce.org
noreply at xfce.org
Wed Sep 5 21:30:22 CEST 2018
This is an automated email from the git hooks/post-receive script.
f 2 4 0 4 p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/xfce4-terminal.
commit 7846fadf0648b94b6c77c729ba67c443e7bc16b0
Author: Igor <f2404 at yandex.ru>
Date: Wed Sep 5 15:29:18 2018 -0400
Resolve the Gtk-CRITICAL message when closing window via the menu
---
terminal/terminal-window.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c
index ba36c41..a6085d0 100644
--- a/terminal/terminal-window.c
+++ b/terminal/terminal-window.c
@@ -1729,8 +1729,8 @@ static void
terminal_window_action_close_window (GtkAction *action,
TerminalWindow *window)
{
- if (terminal_window_confirm_close (NULL, window))
- gtk_widget_destroy (GTK_WIDGET (window));
+ /* this will invoke the "delete-event" handler */
+ gtk_window_close (GTK_WINDOW (window));
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list