[epiphany] Use gtk_window_close() for closing EphyWindow if last tab has been closed
- From: Jan-Michael Brummer <jbrummer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Use gtk_window_close() for closing EphyWindow if last tab has been closed
- Date: Sun, 5 May 2019 08:31:50 +0000 (UTC)
commit d99f5b135ed2531b17eab64a98ee9d531554f478
Author: Jan-Michael Brummer <jan brummer tabos org>
Date: Fri May 3 00:33:39 2019 +0200
Use gtk_window_close() for closing EphyWindow if last tab has been closed
src/ephy-window.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index a8ee5a5c0..3ee503194 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -2752,7 +2752,7 @@ notebook_page_removed_cb (EphyNotebook *notebook,
tab_accels_update (window);
if (gtk_notebook_get_n_pages (window->notebook) == 0)
- ephy_window_close (window);
+ gtk_window_close (GTK_WINDOW (window));
}
static void
@@ -4185,6 +4185,7 @@ 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]