aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-shell.c')
-rw-r--r--src/ephy-shell.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index ab555f905..4b9bd1993 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -47,6 +47,7 @@
#include "print-dialog.h"
#include "ephy-prefs.h"
#include "ephy-gui.h"
+#include "ephy-object-helpers.h"
#ifdef ENABLE_DBUS
#include "ephy-dbus.h"
@@ -940,7 +941,8 @@ toolwindow_hide_cb (GtkWidget *widget, EphyShell *es)
session = EPHY_SESSION (ephy_shell_get_session (es));
ephy_session_remove_window (ephy_shell->priv->session, GTK_WINDOW (widget));
- g_object_unref (ephy_shell);
+
+ ephy_object_idle_unref (ephy_shell);
}
GtkWidget *