gnome-terminal r2777 - trunk/src



Author: chpe
Date: Thu May 29 19:53:14 2008
New Revision: 2777
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2777&view=rev

Log:
Fix CloseWindow for the confirm_close_window changes.


Modified:
   trunk/src/terminal-window.c

Modified: trunk/src/terminal-window.c
==============================================================================
--- trunk/src/terminal-window.c	(original)
+++ trunk/src/terminal-window.c	Thu May 29 19:53:14 2008
@@ -2415,7 +2415,8 @@
 file_close_window_callback (GtkAction *action,
                             TerminalWindow *window)
 {
-  confirm_close_window (window);
+  if (!confirm_close_window (window))
+    gtk_widget_destroy (GTK_WIDGET (window));
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]