From 89261d18c2771954efa52aa95165cf8d3f3fc050 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 28 Sep 2017 19:48:42 -0400 Subject: [PATCH] Recorder: Show details of blur nodes --- gtk/inspector/recorder.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/gtk/inspector/recorder.c b/gtk/inspector/recorder.c index 19786a99fd..73dc681243 100644 --- a/gtk/inspector/recorder.c +++ b/gtk/inspector/recorder.c @@ -425,6 +425,21 @@ populate_render_node_properties (GtkListStore *store, } break; + case GSK_BLUR_NODE: + { + double radius = gsk_blur_node_get_radius (node); + const char *text; + + text = g_strdup_printf ("%.2f", radius); + gtk_list_store_insert_with_values (store, NULL, -1, + 0, "Radius", + 1, text, + 2, FALSE, + 3, NULL, + -1); + g_free (text); + } + break; default: ; } }