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:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user