diff options
author | Timm Bäder <mail@baedert.org> | 2020-01-28 14:48:10 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2020-02-05 04:03:43 +0100 |
commit | 98b42f67408887880c11b355f7fbfa432f5d30ef (patch) | |
tree | 19e42cbd1b1953b2b07f3b5fe746dae416b9be25 /gtk | |
parent | 416182a20d062d5865916f86909354ec85d00dd1 (diff) | |
download | gtk+-98b42f67408887880c11b355f7fbfa432f5d30ef.tar.gz |
css: Remove unused function
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkcsstypes.c | 42 | ||||
-rw-r--r-- | gtk/gtkcsstypesprivate.h | 2 |
2 files changed, 0 insertions, 44 deletions
diff --git a/gtk/gtkcsstypes.c b/gtk/gtkcsstypes.c index 66b3415d81..5cead98c03 100644 --- a/gtk/gtkcsstypes.c +++ b/gtk/gtkcsstypes.c @@ -22,48 +22,6 @@ #include "gtkcssnumbervalueprivate.h" #include "gtkstylecontextprivate.h" -cairo_operator_t -_gtk_css_blend_mode_get_operator (GskBlendMode mode) -{ - switch (mode) - { - case GSK_BLEND_MODE_COLOR: - return CAIRO_OPERATOR_HSL_COLOR; - case GSK_BLEND_MODE_COLOR_BURN: - return CAIRO_OPERATOR_COLOR_BURN; - case GSK_BLEND_MODE_COLOR_DODGE: - return CAIRO_OPERATOR_COLOR_DODGE; - case GSK_BLEND_MODE_DARKEN: - return CAIRO_OPERATOR_DARKEN; - case GSK_BLEND_MODE_DIFFERENCE: - return CAIRO_OPERATOR_DIFFERENCE; - case GSK_BLEND_MODE_EXCLUSION: - return CAIRO_OPERATOR_EXCLUSION; - case GSK_BLEND_MODE_HARD_LIGHT: - return CAIRO_OPERATOR_HARD_LIGHT; - case GSK_BLEND_MODE_SOFT_LIGHT: - return CAIRO_OPERATOR_SOFT_LIGHT; - case GSK_BLEND_MODE_HUE: - return CAIRO_OPERATOR_HSL_HUE; - case GSK_BLEND_MODE_LIGHTEN: - return CAIRO_OPERATOR_LIGHTEN; - case GSK_BLEND_MODE_LUMINOSITY: - return CAIRO_OPERATOR_HSL_LUMINOSITY; - case GSK_BLEND_MODE_MULTIPLY: - return CAIRO_OPERATOR_MULTIPLY; - case GSK_BLEND_MODE_OVERLAY: - return CAIRO_OPERATOR_OVERLAY; - case GSK_BLEND_MODE_SATURATION: - return CAIRO_OPERATOR_HSL_SATURATION; - case GSK_BLEND_MODE_SCREEN: - return CAIRO_OPERATOR_SCREEN; - - case GSK_BLEND_MODE_DEFAULT: - default: - return CAIRO_OPERATOR_OVER; - } -} - GtkCssChange _gtk_css_change_for_sibling (GtkCssChange match) { diff --git a/gtk/gtkcsstypesprivate.h b/gtk/gtkcsstypesprivate.h index 647379b343..1e18fac297 100644 --- a/gtk/gtkcsstypesprivate.h +++ b/gtk/gtkcsstypesprivate.h @@ -446,8 +446,6 @@ typedef enum /*< skip >*/ { GTK_CSS_FONT_VARIANT_EAST_ASIAN_RUBY = 1 << 9 } GtkCssFontVariantEastAsian; -cairo_operator_t _gtk_css_blend_mode_get_operator (GskBlendMode mode); - GtkCssChange _gtk_css_change_for_sibling (GtkCssChange match); GtkCssChange _gtk_css_change_for_child (GtkCssChange match); |