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 --- embed/ephy-web-view.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'embed/ephy-web-view.c') diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index 8cd73a769..8830bc331 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -745,7 +745,7 @@ request_decision_on_storing (StorePasswordData *store_data) info_bar = gtk_info_bar_new (); action_area = gtk_info_bar_get_action_area (GTK_INFO_BAR (info_bar)); - button_box = gtk_hbutton_box_new (); + button_box = gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL); gtk_container_add (GTK_CONTAINER (action_area), button_box); action_button = gtk_button_new_with_label (_("Not now")); @@ -1717,7 +1717,7 @@ geolocation_policy_decision_requested_cb (WebKitWebView *web_view, /* Buttons */ action_area = gtk_info_bar_get_action_area (GTK_INFO_BAR (info_bar)); - button_box = gtk_hbutton_box_new (); + button_box = gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL); gtk_container_add (GTK_CONTAINER (action_area), button_box); /* Translators: Geolocation policy for a specific site. */ -- cgit v1.2.3