diff options
author | Matthias Clasen <mclasen@redhat.com> | 2017-09-28 19:48:42 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-09-28 19:48:42 -0400 |
commit | 89261d18c2771954efa52aa95165cf8d3f3fc050 (patch) | |
tree | 987a87654f13086b8b77922294fbfc48b876ad7a | |
parent | 5e4f7301d6f47ad669789a14622d015da922bb86 (diff) | |
download | gtk+-89261d18c2771954efa52aa95165cf8d3f3fc050.tar.gz |
Recorder: Show details of blur nodes
-rw-r--r-- | gtk/inspector/recorder.c | 15 |
1 files changed, 15 insertions, 0 deletions
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: ; } } |