From ffae9a0909f5a12e510038840586044a77b7baec Mon Sep 17 00:00:00 2001 From: Claudio Saavedra Date: Thu, 9 Jun 2011 17:29:56 +0300 Subject: 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 --- src/ephy-fullscreen-popup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ephy-fullscreen-popup.c') 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); -- cgit v1.2.3