diff options
author | Benjamin Otte <otte@redhat.com> | 2018-09-05 06:34:03 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-09-16 18:50:17 +0200 |
commit | 4495eaae84e61c3d47b0b85ddc8dbd5288318542 (patch) | |
tree | 5cbb9a0a9ea1c7d02fdc9edb3ee6dcb8f7178e57 /gtk/inspector | |
parent | aba76fe8e91a414098538ffc785dccd364ab96c5 (diff) | |
download | gtk+-4495eaae84e61c3d47b0b85ddc8dbd5288318542.tar.gz |
inspector: Add an icon to the render node list
Diffstat (limited to 'gtk/inspector')
-rw-r--r-- | gtk/inspector/recorder.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/inspector/recorder.c b/gtk/inspector/recorder.c index c136758af0..8c27ccc8d8 100644 --- a/gtk/inspector/recorder.c +++ b/gtk/inspector/recorder.c @@ -345,6 +345,11 @@ create_widget_for_render_node (gpointer row_item, } gtk_container_add (GTK_CONTAINER (box), child); + /* icon */ + child = gtk_image_new_from_paintable (paintable); + gtk_container_add (GTK_CONTAINER (box), child); + + /* name */ name = node_name (node); child = gtk_label_new (name); g_free (name); |