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-history-window.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ephy-history-window.c') diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c index 166c21963..8d6a5e49d 100644 --- a/src/ephy-history-window.c +++ b/src/ephy-history-window.c @@ -933,7 +933,7 @@ build_search_box (EphyHistoryWindow *editor) GtkWidget *combo; char *str; - box = gtk_hbox_new (FALSE, 6); + box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6); gtk_container_set_border_width (GTK_CONTAINER (box), 6); gtk_widget_show (box); @@ -1101,7 +1101,7 @@ ephy_history_window_construct (EphyHistoryWindow *editor) g_signal_connect (editor, "delete_event", G_CALLBACK (delete_event_cb), NULL); - editor->priv->main_vbox = gtk_vbox_new (FALSE, 0); + editor->priv->main_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); gtk_widget_show (editor->priv->main_vbox); gtk_container_add (GTK_CONTAINER (editor), editor->priv->main_vbox); @@ -1193,7 +1193,7 @@ ephy_history_window_construct (EphyHistoryWindow *editor) G_CALLBACK (view_selection_changed_cb), editor); - vbox = gtk_vbox_new (FALSE, 0); + vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); gtk_paned_pack2 (GTK_PANED (hpaned), vbox, TRUE, FALSE); gtk_widget_show (vbox); -- cgit v1.2.3