bgo#629299 - Remove deprecated use of gtk_icon_view_set_orientation

gtk_icon_view_set_orientation() was deprecated in GTK+ 2.22 and removed
in GTK+ 3 in favour of gtk_icon_view_set_item_orientation().
This commit is contained in:
Kalev Lember 2010-09-10 19:08:15 +03:00 committed by Federico Mena Quintero
parent cd8a0ecbe2
commit af28fbb0bd

View file

@ -546,7 +546,7 @@ setup_search (GnomeControlCenter *shell)
/* set up the search view */
priv->search_view = search_view = cc_shell_item_view_new ();
gtk_icon_view_set_orientation (GTK_ICON_VIEW (search_view),
gtk_icon_view_set_item_orientation (GTK_ICON_VIEW (search_view),
GTK_ORIENTATION_HORIZONTAL);
gtk_icon_view_set_spacing (GTK_ICON_VIEW (search_view), 6);
gtk_icon_view_set_model (GTK_ICON_VIEW (search_view),