mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
inspector: Add an icon to the render node list
This commit is contained in:
parent
aba76fe8e9
commit
4495eaae84
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user