[gtk+/wip/ebassi/gsk-renderer: 57/126] gsk: Flip mutability on GskRenderNode.finalize



commit 962cb7702648d4fc12e7352388f1ad5ea5a92136
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Fri Jul 8 16:23:49 2016 +0100

    gsk: Flip mutability on GskRenderNode.finalize
    
    We use the public API when removing children nodes, so we need to mark
    the node as mutable while we destroy it.

 gsk/gskrendernode.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gsk/gskrendernode.c b/gsk/gskrendernode.c
index 9fe76d6..5f16bfd 100644
--- a/gsk/gskrendernode.c
+++ b/gsk/gskrendernode.c
@@ -144,6 +144,8 @@ gsk_render_node_finalize (GskRenderNode *self)
 {
   GskRenderNodeIter iter;
 
+  self->is_mutable = TRUE;
+
   gsk_render_node_iter_init (&iter, self);
   while (gsk_render_node_iter_next (&iter, NULL))
     gsk_render_node_iter_remove (&iter);


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