diff options
author | Claudio Saavedra <csaavedra@igalia.com> | 2011-06-09 22:29:56 +0800 |
---|---|---|
committer | Claudio Saavedra <csaavedra@igalia.com> | 2011-06-09 23:11:19 +0800 |
commit | ffae9a0909f5a12e510038840586044a77b7baec (patch) | |
tree | 21a5141eb756a6cafbee1ca0836db4901202bb38 /src/ephy-fullscreen-popup.c | |
parent | 0f61b9bd7ab89b70f1323f08b4f26a27b005d62a (diff) | |
download | gsoc2013-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 'src/ephy-fullscreen-popup.c')
-rw-r--r-- | src/ephy-fullscreen-popup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ephy-fullscreen-popup.c b/src/ephy-fullscreen-popup.c index 1d1b8be77..7713bf72e 100644 --- a/src/ephy-fullscreen-popup.c +++ b/src/ephy-fullscreen-popup.c @@ -202,7 +202,7 @@ ephy_fullscreen_popup_constructor (GType type, gtk_window_set_resizable (window, FALSE); - hbox = gtk_hbox_new (FALSE, 2); + hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 2); gtk_container_add (GTK_CONTAINER (window), hbox); gtk_widget_show (hbox); @@ -211,7 +211,7 @@ ephy_fullscreen_popup_constructor (GType type, gtk_frame_set_shadow_type (GTK_FRAME (priv->frame), GTK_SHADOW_OUT); gtk_box_pack_start (GTK_BOX (hbox), priv->frame, FALSE, FALSE, 0); - frame_hbox = gtk_hbox_new (FALSE, 2); + frame_hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 2); gtk_container_add (GTK_CONTAINER (priv->frame), frame_hbox); gtk_widget_show (frame_hbox); |