diff options
author | Benjamin Otte <otte@redhat.com> | 2016-12-15 04:20:35 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-12-20 18:01:11 +0100 |
commit | 3e26fadb2463c7e44b4b9efbb37c0f55201e59b7 (patch) | |
tree | 6910f7abfef0a443982cd9f6d244c7c4f5cb017c /gtk/gtkrenderbackground.c | |
parent | 2118f394d258554be67614e1fccb550795a69753 (diff) | |
download | gtk+-3e26fadb2463c7e44b4b9efbb37c0f55201e59b7.tar.gz |
css: Replace custom blend modes with GskBlendMode
Diffstat (limited to 'gtk/gtkrenderbackground.c')
-rw-r--r-- | gtk/gtkrenderbackground.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkrenderbackground.c b/gtk/gtkrenderbackground.c index 719761fab4..0bedcf1f61 100644 --- a/gtk/gtkrenderbackground.c +++ b/gtk/gtkrenderbackground.c @@ -123,11 +123,11 @@ _gtk_theming_background_needs_push_group (GtkCssStyle *style) */ for (i = _gtk_css_array_value_get_n_values (blend_modes); i > 0; i--) { - GtkCssBlendMode blend_mode; + GskBlendMode blend_mode; blend_mode = _gtk_css_blend_mode_value_get (_gtk_css_array_value_get_nth (blend_modes, i - 1)); - if (blend_mode != GTK_CSS_BLEND_MODE_NORMAL) + if (blend_mode != GSK_BLEND_MODE_DEFAULT) return TRUE; } @@ -142,7 +142,7 @@ gtk_theming_background_paint_layer (GtkThemingBackground *bg, GtkCssRepeatStyle hrepeat, vrepeat; const GtkCssValue *pos, *repeat; GtkCssImage *image; - GtkCssBlendMode blend_mode; + GskBlendMode blend_mode; const GskRoundedRect *origin; double image_width, image_height; double width, height; |