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:
parent
cd8a0ecbe2
commit
af28fbb0bd
1 changed files with 2 additions and 2 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue