summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-09-01 23:03:48 -0400
committerMatthias Clasen <mclasen@redhat.com>2010-09-01 23:03:48 -0400
commite4af3782d3046948b937db8651630bebeb148b50 (patch)
tree0ec04ca8fd595d43e73c8f8b7cb1a3dadec62b65 /demos
parent1956cf8d2859f65ce75200dc6c1a605cf1c23a16 (diff)
downloadgtk+-e4af3782d3046948b937db8651630bebeb148b50.tar.gz
Rename GtkIconView::orientation property
Rename the ::orientation property of GtkIconView to item-orientation, which is both clearer and avoids the conflict with the orientation property of GtkOrientable implementations.
Diffstat (limited to 'demos')
-rw-r--r--demos/gtk-demo/iconview_edit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/gtk-demo/iconview_edit.c b/demos/gtk-demo/iconview_edit.c
index 10ad22507c..9298adfa46 100644
--- a/demos/gtk-demo/iconview_edit.c
+++ b/demos/gtk-demo/iconview_edit.c
@@ -120,8 +120,8 @@ do_iconview_edit (GtkWidget *do_widget)
gtk_icon_view_set_selection_mode (GTK_ICON_VIEW (icon_view),
GTK_SELECTION_SINGLE);
- gtk_icon_view_set_orientation (GTK_ICON_VIEW (icon_view),
- GTK_ORIENTATION_HORIZONTAL);
+ gtk_icon_view_set_item_orientation (GTK_ICON_VIEW (icon_view),
+ GTK_ORIENTATION_HORIZONTAL);
gtk_icon_view_set_columns (GTK_ICON_VIEW (icon_view), 2);
gtk_icon_view_set_reorderable (GTK_ICON_VIEW (icon_view), TRUE);