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-window.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-window.c')
-rw-r--r-- | src/ephy-window.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index 5cbbf8ad6..5d9e6f854 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -1555,12 +1555,12 @@ setup_ui_manager (EphyWindow *window) GtkAction *action; GtkUIManager *manager; - window->priv->main_vbox = gtk_vbox_new (FALSE, 0); + window->priv->main_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); gtk_widget_show (window->priv->main_vbox); gtk_container_add (GTK_CONTAINER (window), window->priv->main_vbox); - window->priv->menu_dock = gtk_vbox_new (FALSE, 0); + window->priv->menu_dock = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); gtk_widget_show (window->priv->menu_dock); gtk_box_pack_start (GTK_BOX (window->priv->main_vbox), GTK_WIDGET (window->priv->menu_dock), @@ -3265,7 +3265,7 @@ setup_downloads_box (EphyWindow *window) GtkWidget *close_button; GtkWidget *image; - widget = gtk_hbox_new (FALSE, 0); + widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); close_button = gtk_button_new (); image = gtk_image_new_from_stock (GTK_STOCK_CLOSE, GTK_ICON_SIZE_BUTTON); |