Rework the API a bit
Rename get/set_color to get/set_rgba and show_alpha to use_alpha, to match existing GtkColorButton API and let GtkColorButton implement GtkColorChooser.
This commit is contained in:
@ -293,8 +293,8 @@ gtk_color_scale_class_init (GtkColorScaleClass *class)
|
||||
}
|
||||
|
||||
void
|
||||
gtk_color_scale_set_color (GtkColorScale *scale,
|
||||
const GdkRGBA *color)
|
||||
gtk_color_scale_set_rgba (GtkColorScale *scale,
|
||||
const GdkRGBA *color)
|
||||
{
|
||||
scale->priv->color.red = color->red;
|
||||
scale->priv->color.green = color->green;
|
||||
|
||||
Reference in New Issue
Block a user