[epiphany] Revert "Use gtk_window_close() for closing EphyWindow if last tab has been closed"



commit 6f6bb90f4930cf3a1a0f89791716a9e87b8b518b
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Mon May 13 06:34:00 2019 -0500

    Revert "Use gtk_window_close() for closing EphyWindow if last tab has been closed"
    
    This reverts commit d99f5b135ed2531b17eab64a98ee9d531554f478.
    
    Due to #783 and #758, will need to try again.

 src/ephy-window.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 81a75977a..b2c4f19fb 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -2737,7 +2737,7 @@ notebook_page_removed_cb (EphyNotebook *notebook,
   tab_accels_update (window);
 
   if (gtk_notebook_get_n_pages (window->notebook) == 0)
-    gtk_window_close (GTK_WINDOW (window));
+    ephy_window_close (window);
 }
 
 static void
@@ -4170,7 +4170,6 @@ ephy_window_close (EphyWindow *window)
       ephy_session_close (session);
   }
 
-  /* FIXME: This function should close the window, not hide it */
   /* See bug #114689 */
   gtk_widget_hide (GTK_WIDGET (window));
 


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