mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
showrendernode: Pass error to deserialize()
This commit is contained in:
parent
af97f19926
commit
a2291fb989
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user