From cb3171d7bb376921eab8bce70ed897789e1c882b Mon Sep 17 00:00:00 2001 From: Alice Mikhaylenko Date: Mon, 24 Jun 2024 01:53:28 +0400 Subject: [PATCH] chart-layer: Redraw on css changes Make sure we redraw it when system accent color changes. --- src/sysprof/sysprof-chart-layer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sysprof/sysprof-chart-layer.c b/src/sysprof/sysprof-chart-layer.c index b1c3db9a..675ee33d 100644 --- a/src/sysprof/sysprof-chart-layer.c +++ b/src/sysprof/sysprof-chart-layer.c @@ -58,6 +58,8 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS gtk_style_context_lookup_color (style_context, "accent_fg_color", &accent_fg_color); gtk_style_context_lookup_color (style_context, "accent_bg_color", &accent_bg_color); G_GNUC_END_IGNORE_DEPRECATIONS + + gtk_widget_queue_draw (widget); } static SysprofSession *