summaryrefslogtreecommitdiff
path: root/gtk/gtkrendernodepaintable.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-09-05 05:53:33 +0200
committerBenjamin Otte <otte@redhat.com>2018-09-16 18:50:17 +0200
commitaba76fe8e91a414098538ffc785dccd364ab96c5 (patch)
tree70eab50148abb4a73426e7849a32b06aa36ea8a9 /gtk/gtkrendernodepaintable.c
parent867042f88f4756280427f908d0baef43d90d00d4 (diff)
downloadgtk+-aba76fe8e91a414098538ffc785dccd364ab96c5.tar.gz
inspector: Make the render node tree use a ListBox
It used to be a treeview.
Diffstat (limited to 'gtk/gtkrendernodepaintable.c')
-rw-r--r--gtk/gtkrendernodepaintable.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk/gtkrendernodepaintable.c b/gtk/gtkrendernodepaintable.c
index 35fcd2f545..7ee40b138b 100644
--- a/gtk/gtkrendernodepaintable.c
+++ b/gtk/gtkrendernodepaintable.c
@@ -149,3 +149,11 @@ gtk_render_node_paintable_new (GskRenderNode *node,
return GDK_PAINTABLE (self);
}
+
+GskRenderNode *
+gtk_render_node_paintable_get_render_node (GtkRenderNodePaintable *self)
+{
+ g_return_val_if_fail (GTK_IS_RENDER_NODE_PAINTABLE (self), NULL);
+
+ return self->node;
+}