aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets/ephy-zoom-control.c
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2011-06-09 22:29:56 +0800
committerClaudio Saavedra <csaavedra@igalia.com>2011-06-09 23:11:19 +0800
commitffae9a0909f5a12e510038840586044a77b7baec (patch)
tree21a5141eb756a6cafbee1ca0836db4901202bb38 /lib/widgets/ephy-zoom-control.c
parent0f61b9bd7ab89b70f1323f08b4f26a27b005d62a (diff)
downloadgsoc2013-epiphany-ffae9a0909f5a12e510038840586044a77b7baec.tar
gsoc2013-epiphany-ffae9a0909f5a12e510038840586044a77b7baec.tar.gz
gsoc2013-epiphany-ffae9a0909f5a12e510038840586044a77b7baec.tar.bz2
gsoc2013-epiphany-ffae9a0909f5a12e510038840586044a77b7baec.tar.lz
gsoc2013-epiphany-ffae9a0909f5a12e510038840586044a77b7baec.tar.xz
gsoc2013-epiphany-ffae9a0909f5a12e510038840586044a77b7baec.tar.zst
gsoc2013-epiphany-ffae9a0909f5a12e510038840586044a77b7baec.zip
Use GtkOrientable interface instead of deprecated V/H widgets
Gtk[HV]Box, Gtk[HV]Separator, Gtk[HV]Paned are deprecated in GTK+ 3.2, so let's use the GtkOrientable interface instead. GtkBox is likely to dissapear soon too, so a migration to GtkGrid might be necessary at some point. https://bugzilla.gnome.org/show_bug.cgi?id=652201
Diffstat (limited to 'lib/widgets/ephy-zoom-control.c')
-rw-r--r--lib/widgets/ephy-zoom-control.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/widgets/ephy-zoom-control.c b/lib/widgets/ephy-zoom-control.c
index fc132d438..e16f91b15 100644
--- a/lib/widgets/ephy-zoom-control.c
+++ b/lib/widgets/ephy-zoom-control.c
@@ -116,7 +116,8 @@ ephy_zoom_control_init (EphyZoomControl *control)
i = ephy_zoom_get_zoom_level_index (p->zoom);
gtk_combo_box_set_active (combo, i);
- vbox = gtk_vbox_new (TRUE, 0);
+ vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
+ gtk_box_set_homogeneous (GTK_BOX (vbox), TRUE);
gtk_box_pack_start (GTK_BOX (vbox), GTK_WIDGET (combo), TRUE, FALSE, 0);
gtk_widget_show (vbox);