[gtk/matthiasc/for-master: 29/29] css: Don't lose inset when computing shadows
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 29/29] css: Don't lose inset when computing shadows
- Date: Mon, 27 Jan 2020 01:19:00 +0000 (UTC)
commit 3cdde3fc4b9b4dc5834811304c26fb40be2ef575
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jan 26 20:16:16 2020 -0500
css: Don't lose inset when computing shadows
This was showing up as reftest failures,
sporadically
gtk/gtkcssshadowvalue.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gtk/gtkcssshadowvalue.c b/gtk/gtkcssshadowvalue.c
index 08d02cfae8..9a0917ef94 100644
--- a/gtk/gtkcssshadowvalue.c
+++ b/gtk/gtkcssshadowvalue.c
@@ -131,6 +131,7 @@ gtk_css_value_shadow_compute (GtkCssValue *value,
shadows[i].radius = _gtk_css_value_compute (shadow->radius, property_id, provider, style,
parent_style);
shadows[i].spread = _gtk_css_value_compute (shadow->spread, property_id, provider, style,
parent_style),
shadows[i].color = _gtk_css_value_compute (shadow->color, property_id, provider, style, parent_style);
+ shadows[i].inset = shadow->inset;
}
return gtk_css_shadow_value_new (shadows, value->n_shadows);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]