showrendernode: Pass error to deserialize()

This commit is contained in:
Timm Bäder 2020-10-15 06:36:35 +02:00
parent af97f19926
commit a2291fb989

View File

@ -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)