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.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index 6fddf9d2d..ef45fb493 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -685,11 +685,8 @@ ephy_shell_get_net_monitor (EphyShell *shell)
static void
toolwindow_show_cb (GtkWidget *widget, EphyShell *es)
{
- EphySession *session;
-
LOG ("Ref shell for %s", G_OBJECT_TYPE_NAME (widget));
- session = EPHY_SESSION (ephy_shell_get_session (es));
ephy_session_add_window (ephy_shell->priv->session, GTK_WINDOW (widget));
g_object_ref (ephy_shell);
}
@@ -697,11 +694,8 @@ toolwindow_show_cb (GtkWidget *widget, EphyShell *es)
static void
toolwindow_hide_cb (GtkWidget *widget, EphyShell *es)
{
- EphySession *session;
-
LOG ("Unref shell for %s", G_OBJECT_TYPE_NAME (widget));
- session = EPHY_SESSION (ephy_shell_get_session (es));
ephy_session_remove_window (ephy_shell->priv->session, GTK_WINDOW (widget));
g_object_unref (ephy_shell);
}