summaryrefslogtreecommitdiff
path: root/demos/gtk-demo
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2009-07-14 19:11:20 +0200
committerMurray Cumming <murrayc@murrayc.com>2009-07-14 19:11:20 +0200
commitac7b0c91ae8394b869c00ece5ccadcb433aaecd6 (patch)
tree85344c06179ecccaea831d86cc03414dbcc02b1b /demos/gtk-demo
parent2976f4d98cb2a45a7d1b67bb3ef4a2fed4194fc8 (diff)
downloadgtk+-ac7b0c91ae8394b869c00ece5ccadcb433aaecd6.tar.gz
ToolPalette: Implement GtkOrientable.
* gtk/gtktoolpalette.[h|c]: Remove gtk_tool_palette_get/set_property(), implementing GtkOrientable instead. * gtk/gtktoolitemgroup.c: * demos/gtk-demo/toolpalette.c: Use gtk_orientable_* instead.
Diffstat (limited to 'demos/gtk-demo')
-rw-r--r--demos/gtk-demo/toolpalette.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/toolpalette.c b/demos/gtk-demo/toolpalette.c
index fb933de97e..671aa77cd1 100644
--- a/demos/gtk-demo/toolpalette.c
+++ b/demos/gtk-demo/toolpalette.c
@@ -25,7 +25,7 @@ static void on_combo_orientation_changed(GtkComboBox *combo_box, gpointer user_d
gint val = 0;
gtk_tree_model_get (model, &iter, 1, &val, -1);
- gtk_tool_palette_set_orientation (palette, val);
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (palette), val);
}
static void on_combo_style_changed(GtkComboBox *combo_box, gpointer user_data)