summaryrefslogtreecommitdiff
path: root/gsk/gskrendernodeparser.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-03-09 00:43:47 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-03-09 12:15:25 -0500
commit124f60593b54c9a28b4d4b60b34eb92a37c03474 (patch)
treeae9aa9d2f34b5bbd3c054d909b297f2b746da597 /gsk/gskrendernodeparser.c
parent09af40faeb21e23f50b3227f711f11e77b3a0632 (diff)
downloadgtk+-124f60593b54c9a28b4d4b60b34eb92a37c03474.tar.gz
nodeparser: Print debug message before child
This puts the message up top, where it can be seen, and not at the other end of an endless tree of children. Update tests to match.
Diffstat (limited to 'gsk/gskrendernodeparser.c')
-rw-r--r--gsk/gskrendernodeparser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gsk/gskrendernodeparser.c b/gsk/gskrendernodeparser.c
index 8d72f94aa1..dce4a33f36 100644
--- a/gsk/gskrendernodeparser.c
+++ b/gsk/gskrendernodeparser.c
@@ -2767,13 +2767,13 @@ render_node_print (Printer *p,
start_node (p, "debug");
- append_node_param (p, "child", gsk_debug_node_get_child (node));
/* TODO: We potentially need to escape certain characters in the message */
if (message)
{
_indent (p);
g_string_append_printf (p->str, "message: \"%s\";\n", message);
}
+ append_node_param (p, "child", gsk_debug_node_get_child (node));
end_node (p);
}