aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-shell.c
diff options
context:
space:
mode:
authorXan Lopez <xlopez@igalia.com>2011-04-20 16:14:05 +0800
committerXan Lopez <xlopez@igalia.com>2011-04-21 01:51:46 +0800
commit85e3c2e1129a1d0d3d5dd0c1bdab883ea7b027b5 (patch)
treed42a54e25eda179c70d46f2b376b67f1d2d1b929 /src/ephy-shell.c
parenta78edd0144a01081ac254b40228c1b7c488df711 (diff)
downloadgsoc2013-epiphany-85e3c2e1129a1d0d3d5dd0c1bdab883ea7b027b5.tar
gsoc2013-epiphany-85e3c2e1129a1d0d3d5dd0c1bdab883ea7b027b5.tar.gz
gsoc2013-epiphany-85e3c2e1129a1d0d3d5dd0c1bdab883ea7b027b5.tar.bz2
gsoc2013-epiphany-85e3c2e1129a1d0d3d5dd0c1bdab883ea7b027b5.tar.lz
gsoc2013-epiphany-85e3c2e1129a1d0d3d5dd0c1bdab883ea7b027b5.tar.xz
gsoc2013-epiphany-85e3c2e1129a1d0d3d5dd0c1bdab883ea7b027b5.tar.zst
gsoc2013-epiphany-85e3c2e1129a1d0d3d5dd0c1bdab883ea7b027b5.zip
Remove a few GCC 4.6.0 warnings
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);
}