css: gtk_css_color_value_new_literal static too

This function is only used inside gtkcsscolorvalue.c as well.
This commit is contained in:
Matthias Clasen 2024-05-31 15:49:45 -04:00
parent dff340530a
commit 73e4eb7552
2 changed files with 1 additions and 2 deletions

View File

@ -38,6 +38,7 @@ typedef enum {
static GtkCssValue * gtk_css_color_value_new_mix (GtkCssValue *color1,
GtkCssValue *color2,
double factor);
static GtkCssValue * gtk_css_color_value_new_literal (const GdkRGBA *color);
typedef enum {
COLOR_TYPE_LITERAL,

View File

@ -29,8 +29,6 @@ GtkCssValue * gtk_css_color_value_new_white (void) G_GNUC_PURE;
GtkCssValue * gtk_css_color_value_new_current_color (void) G_GNUC_PURE;
GtkCssValue * gtk_css_color_value_new_name (const char *name) G_GNUC_PURE;
GtkCssValue * gtk_css_color_value_new_literal (const GdkRGBA *color) G_GNUC_PURE;
gboolean gtk_css_color_value_can_parse (GtkCssParser *parser);
GtkCssValue * gtk_css_color_value_parse (GtkCssParser *parser);