[gtk/wip/baedert/for-master: 113/128] showrendernode: Pass error to deserialize()




commit a2291fb989537e47aa02bdeaba0f8458e25a2928
Author: Timm Bäder <mail baedert org>
Date:   Thu Oct 15 06:36:35 2020 +0200

    showrendernode: Pass error to deserialize()

 tests/showrendernode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]