[gnome-control-center] bgo#629299 - Remove deprecated use of gtk_icon_view_set_orientation
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] bgo#629299 - Remove deprecated use of gtk_icon_view_set_orientation
- Date: Fri, 10 Sep 2010 19:51:01 +0000 (UTC)
commit af28fbb0bd64534e91a9893935953ad940058cd7
Author: Kalev Lember <kalev smartlink ee>
Date: Fri Sep 10 19:08:15 2010 +0300
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().
shell/gnome-control-center.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/shell/gnome-control-center.c b/shell/gnome-control-center.c
index 16afa42..67b34a1 100644
--- a/shell/gnome-control-center.c
+++ b/shell/gnome-control-center.c
@@ -546,8 +546,8 @@ 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_ORIENTATION_HORIZONTAL);
+ 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),
GTK_TREE_MODEL (priv->search_filter));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]