From df2d43c8935e71aa59be480fa5456fe91943aa0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Fri, 23 Aug 2019 08:15:42 +0200 Subject: [PATCH] csscolorvalue: Remove unused new_from_rgba() --- gtk/gtkcsscolorvalue.c | 11 ----------- gtk/gtkcsscolorvalueprivate.h | 4 ---- 2 files changed, 15 deletions(-) diff --git a/gtk/gtkcsscolorvalue.c b/gtk/gtkcsscolorvalue.c index 091cb07c85..5bd3185d84 100644 --- a/gtk/gtkcsscolorvalue.c +++ b/gtk/gtkcsscolorvalue.c @@ -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) { diff --git a/gtk/gtkcsscolorvalueprivate.h b/gtk/gtkcsscolorvalueprivate.h index fa199ee6ab..1007b26582 100644 --- a/gtk/gtkcsscolorvalueprivate.h +++ b/gtk/gtkcsscolorvalueprivate.h @@ -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);