From 85e3c2e1129a1d0d3d5dd0c1bdab883ea7b027b5 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Wed, 20 Apr 2011 01:14:05 -0700 Subject: Remove a few GCC 4.6.0 warnings --- src/ephy-shell.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/ephy-shell.c') 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); } -- cgit v1.2.3