aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-03-12 06:12:10 +0800
committerChristian Persch <chpe@src.gnome.org>2005-03-12 06:12:10 +0800
commit5ee23a2c600d1cc951d185d283c9c0b5565b5991 (patch)
treedcbe2f09b66702f6a8c7e94ebc85133dc938cf40 /src/ephy-window.c
parentd472d37f725e292602d8b7db87107157cc27971c (diff)
downloadgsoc2013-epiphany-5ee23a2c600d1cc951d185d283c9c0b5565b5991.tar
gsoc2013-epiphany-5ee23a2c600d1cc951d185d283c9c0b5565b5991.tar.gz
gsoc2013-epiphany-5ee23a2c600d1cc951d185d283c9c0b5565b5991.tar.bz2
gsoc2013-epiphany-5ee23a2c600d1cc951d185d283c9c0b5565b5991.tar.lz
gsoc2013-epiphany-5ee23a2c600d1cc951d185d283c9c0b5565b5991.tar.xz
gsoc2013-epiphany-5ee23a2c600d1cc951d185d283c9c0b5565b5991.tar.zst
gsoc2013-epiphany-5ee23a2c600d1cc951d185d283c9c0b5565b5991.zip
Revert patch from bug #169956, it's not correct.
2005-03-11 Christian Persch <chpe@cvs.gnome.org> * src/ephy-toolbar.c: (ephy_toolbar_activate_location): Revert patch from bug #169956, it's not correct. * src/ephy-window.c: (sync_chromes_visibility): Fix a crash on window close with active toolbar activation.
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index cd0f4f7f6..420a074c8 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -522,6 +522,8 @@ sync_chromes_visibility (EphyWindow *window)
GtkWidget *menubar;
gboolean show_statusbar, show_menubar, show_toolbar, show_bookmarksbar;
+ if (priv->closing) return;
+
get_chromes_visibility (window, &show_menubar,
&show_statusbar, &show_toolbar,
&show_bookmarksbar);