aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets
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 /lib/widgets
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 'lib/widgets')
-rw-r--r--lib/widgets/ephy-node-view.c4
-rw-r--r--lib/widgets/ephy-zoom-control.c2
2 files changed, 0 insertions, 6 deletions
diff --git a/lib/widgets/ephy-node-view.c b/lib/widgets/ephy-node-view.c
index 2f5429143..eabdaa422 100644
--- a/lib/widgets/ephy-node-view.c
+++ b/lib/widgets/ephy-node-view.c
@@ -1605,12 +1605,8 @@ ephy_node_view_enable_drag_source (EphyNodeView *view,
int base_drag_column_id,
int extra_drag_column_id)
{
- GtkWidget *treeview;
-
g_return_if_fail (view != NULL);
- treeview = GTK_WIDGET (view);
-
view->priv->source_target_list =
gtk_target_list_new (types, n_types);
diff --git a/lib/widgets/ephy-zoom-control.c b/lib/widgets/ephy-zoom-control.c
index c61c9941c..fc132d438 100644
--- a/lib/widgets/ephy-zoom-control.c
+++ b/lib/widgets/ephy-zoom-control.c
@@ -173,10 +173,8 @@ static void
ephy_zoom_control_class_init (EphyZoomControlClass *klass)
{
GObjectClass *object_class;
- GtkToolItemClass *tool_item_class;
object_class = (GObjectClass *)klass;
- tool_item_class = (GtkToolItemClass *)klass;
object_class->set_property = ephy_zoom_control_set_property;
object_class->get_property = ephy_zoom_control_get_property;