[gtk/wip/baedert/for-master: 19/20] csscolorvalue: Remove unused new_from_rgba()
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 19/20] csscolorvalue: Remove unused new_from_rgba()
- Date: Fri, 23 Aug 2019 07:11:14 +0000 (UTC)
commit daa7547b677e25df5604e1f3eb2c5d27ca3d034f
Author: Timm Bäder <mail baedert org>
Date: Fri Aug 23 08:15:42 2019 +0200
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]