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.
This commit is contained in:
Murray Cumming
2009-07-14 19:11:20 +02:00
parent 2976f4d98c
commit ac7b0c91ae
6 changed files with 15 additions and 53 deletions

View File

@ -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)