From 8e2902eefc466c662bd7bef0533de05db0897c49 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 19 Jan 2013 18:42:33 -0500 Subject: Bump GDK_VERSION_MIN_REQUIRED to GDK_VERSION_3_2. Clean up resulting deprecation warnings, which were all related to GtkOrientable consolidation (e.g. gtk_hbox_new() -> gtk_box_new()). --- e-util/e-search-bar.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'e-util/e-search-bar.c') diff --git a/e-util/e-search-bar.c b/e-util/e-search-bar.c index 9ed0c2d1c9..678e2e8d60 100644 --- a/e-util/e-search-bar.c +++ b/e-util/e-search-bar.c @@ -513,7 +513,7 @@ e_search_bar_init (ESearchBar *search_bar) container = GTK_WIDGET (search_bar); - widget = gtk_hbox_new (FALSE, 1); + widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 1); gtk_box_pack_start (GTK_BOX (container), widget, FALSE, FALSE, 0); gtk_widget_show (widget); @@ -621,7 +621,7 @@ e_search_bar_init (ESearchBar *search_bar) container = GTK_WIDGET (search_bar); - widget = gtk_hbox_new (FALSE, 6); + widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6); gtk_box_pack_start (GTK_BOX (container), widget, TRUE, TRUE, 0); search_bar->priv->wrapped_next_box = g_object_ref (widget); gtk_widget_hide (widget); @@ -643,7 +643,7 @@ e_search_bar_init (ESearchBar *search_bar) container = GTK_WIDGET (search_bar); - widget = gtk_hbox_new (FALSE, 6); + widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6); gtk_box_pack_start (GTK_BOX (container), widget, TRUE, TRUE, 0); search_bar->priv->wrapped_prev_box = g_object_ref (widget); gtk_widget_hide (widget); -- cgit v1.2.3