csscolorvalue: Remove unused new_from_rgba()

This commit is contained in:
Timm Bäder 2019-08-23 08:15:42 +02:00
parent 8d6c5ba90e
commit df2d43c893
2 changed files with 0 additions and 15 deletions

View File

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

View File

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