forked from AuroraMiddleware/gtk
csscolorvalue: Remove unused new_from_rgba()
This commit is contained in:
parent
8d6c5ba90e
commit
df2d43c893
@ -425,17 +425,6 @@ _gtk_css_color_value_new_literal (const GdkRGBA *color)
|
||||
return value;
|
||||
}
|
||||
|
||||
GtkCssValue *
|
||||
_gtk_css_color_value_new_rgba (double red,
|
||||
double green,
|
||||
double blue,
|
||||
double alpha)
|
||||
{
|
||||
GdkRGBA rgba = { red, green, blue, alpha };
|
||||
|
||||
return _gtk_css_color_value_new_literal (&rgba);
|
||||
}
|
||||
|
||||
GtkCssValue *
|
||||
_gtk_css_color_value_new_name (const gchar *name)
|
||||
{
|
||||
|
@ -25,10 +25,6 @@ G_BEGIN_DECLS
|
||||
|
||||
|
||||
GtkCssValue * _gtk_css_color_value_new_literal (const GdkRGBA *color);
|
||||
GtkCssValue * _gtk_css_color_value_new_rgba (double red,
|
||||
double green,
|
||||
double blue,
|
||||
double alpha);
|
||||
GtkCssValue * _gtk_css_color_value_new_name (const gchar *name);
|
||||
GtkCssValue * _gtk_css_color_value_new_shade (GtkCssValue *color,
|
||||
gdouble factor);
|
||||
|
Loading…
Reference in New Issue
Block a user