[gtk+/wip/ebassi/gsk-renderer: 108/194] gsk: Flip mutability on GskRenderNode.finalize
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/ebassi/gsk-renderer: 108/194] gsk: Flip mutability on GskRenderNode.finalize
- Date: Wed, 24 Aug 2016 10:15:23 +0000 (UTC)
commit 66ff5d83da45fb070d17cd156f9be1f07b127a20
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]