aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ephy-shell.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index e3f3c98ba..2bd5c8a59 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -963,7 +963,6 @@ toolwindow_show_cb (GtkWidget *widget, EphyShell *es)
LOG ("Ref shell for %s", G_OBJECT_TYPE_NAME (widget));
ephy_session_add_window (ephy_shell->priv->session, GTK_WINDOW (widget));
- g_object_ref (ephy_shell);
}
static void
@@ -972,7 +971,6 @@ toolwindow_hide_cb (GtkWidget *widget, EphyShell *es)
LOG ("Unref shell for %s", G_OBJECT_TYPE_NAME (widget));
ephy_session_remove_window (ephy_shell->priv->session, GTK_WINDOW (widget));
- g_object_unref (ephy_shell);
}
/**