summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2020-10-15 06:36:35 +0200
committerTimm Bäder <mail@baedert.org>2020-10-22 17:46:33 +0200
commita2291fb989537e47aa02bdeaba0f8458e25a2928 (patch)
tree22d88bf138b5862bb2efee2cb402310ffaa91eb5 /tests
parentaf97f199260203997e37494c31beb8ca3ab58063 (diff)
downloadgtk+-a2291fb989537e47aa02bdeaba0f8458e25a2928.tar.gz
showrendernode: Pass error to deserialize()
Diffstat (limited to 'tests')
-rw-r--r--tests/showrendernode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/showrendernode.c b/tests/showrendernode.c
index 4f41f0c4f9..92bc6d40eb 100644
--- a/tests/showrendernode.c
+++ b/tests/showrendernode.c
@@ -172,7 +172,7 @@ main (int argc, char **argv)
}
bytes = g_bytes_new_take (contents, len);
- GTK_NODE_VIEW (nodeview)->node = gsk_render_node_deserialize (bytes, deserialize_error_func, NULL);
+ GTK_NODE_VIEW (nodeview)->node = gsk_render_node_deserialize (bytes, deserialize_error_func, &error);
g_bytes_unref (bytes);
if (GTK_NODE_VIEW (nodeview)->node == NULL)