[epiphany] window: Fix a crash when closing the window with the downloads bar open
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] window: Fix a crash when closing the window with the downloads bar open
- Date: Wed, 19 Feb 2014 08:54:22 +0000 (UTC)
commit 13dbb8d4ae4c137b68f28d681cd6444d1e0de3ea
Author: Carlos Garcia Campos <cgarcia igalia com>
Date: Wed Feb 19 09:52:50 2014 +0100
window: Fix a crash when closing the window with the downloads bar open
Do not notify about window chrome changes when the window is closing.
src/ephy-window.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 51bd7fb..272c9c2 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -670,6 +670,9 @@ ephy_window_set_chrome (EphyWindow *window,
return;
window->priv->chrome = chrome;
+ if (window->priv->closing)
+ return;
+
g_object_notify (G_OBJECT (window), "chrome");
sync_chromes_visibility (window);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]