[gtk+/wip/ebassi/gsk-renderer: 67/103] 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: 67/103] gsk: Flip mutability on GskRenderNode.finalize
- Date: Thu, 4 Aug 2016 10:33:47 +0000 (UTC)
commit 4d6fe94a3a726916dc8feaf06a2c5e13e4bb24f1
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]