[gtk+] gsk: Make repeat nodes deserializable
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gsk: Make repeat nodes deserializable
- Date: Thu, 21 Sep 2017 03:27:34 +0000 (UTC)
commit ce06c4b840a3a6f58737f964a6e9513b799fedf3
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Sep 20 21:16:09 2017 -0400
gsk: Make repeat nodes deserializable
This was just a simple oversight.
gsk/gskrendernodeimpl.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gsk/gskrendernodeimpl.c b/gsk/gskrendernodeimpl.c
index ad6ffda..c5d26b2 100644
--- a/gsk/gskrendernodeimpl.c
+++ b/gsk/gskrendernodeimpl.c
@@ -4373,6 +4373,7 @@ static const GskRenderNodeClass *klasses[] = {
[GSK_TRANSFORM_NODE] = &GSK_TRANSFORM_NODE_CLASS,
[GSK_OPACITY_NODE] = &GSK_OPACITY_NODE_CLASS,
[GSK_COLOR_MATRIX_NODE] = &GSK_COLOR_MATRIX_NODE_CLASS,
+ [GSK_REPEAT_NODE] = &GSK_REPEAT_NODE_CLASS,
[GSK_CLIP_NODE] = &GSK_CLIP_NODE_CLASS,
[GSK_ROUNDED_CLIP_NODE] = &GSK_ROUNDED_CLIP_NODE_CLASS,
[GSK_SHADOW_NODE] = &GSK_SHADOW_NODE_CLASS,
@@ -4398,7 +4399,7 @@ gsk_render_node_deserialize_node (GskRenderNodeType type,
if (klass == NULL)
{
g_set_error (error, GSK_SERIALIZATION_ERROR, GSK_SERIALIZATION_INVALID_DATA,
- "Type %u is not a valid node type", type);
+ "Type %u is not a valid render node type", type);
return NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]