diff options
author | Benjamin Otte <otte@redhat.com> | 2012-03-07 03:07:02 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-03-07 03:11:05 +0100 |
commit | 4d6a6be89795b7905f650a93b8e80beb1dc46747 (patch) | |
tree | 988ec04412450abcad965204948e35c6c214271f /gtk/gtkcolorbutton.c | |
parent | b83dcc26ad8079c621c7212359599a956807f96d (diff) | |
download | gtk+-4d6a6be89795b7905f650a93b8e80beb1dc46747.tar.gz |
API: colorchooser: Use GtkOrientation for orientation
Unfortunately, this swaps the values from the previous state.
But it's definitely a nicer API.
Diffstat (limited to 'gtk/gtkcolorbutton.c')
-rw-r--r-- | gtk/gtkcolorbutton.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcolorbutton.c b/gtk/gtkcolorbutton.c index 194ece80b2..ab2821fa41 100644 --- a/gtk/gtkcolorbutton.c +++ b/gtk/gtkcolorbutton.c @@ -962,7 +962,7 @@ gtk_color_button_get_property (GObject *object, static void gtk_color_button_add_palette (GtkColorChooser *chooser, - gboolean horizontal, + GtkOrientation orientation, gint colors_per_line, gint n_colors, GdkRGBA *colors) @@ -971,7 +971,7 @@ gtk_color_button_add_palette (GtkColorChooser *chooser, if (button->priv->cs_dialog) gtk_color_chooser_add_palette (GTK_COLOR_CHOOSER (button->priv->cs_dialog), - horizontal, colors_per_line, n_colors, colors); + orientation, colors_per_line, n_colors, colors); } typedef void (* get_rgba) (GtkColorChooser *, GdkRGBA *); |