summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-09-20 21:16:09 -0400
committerMatthias Clasen <mclasen@redhat.com>2017-09-20 23:26:15 -0400
commitce06c4b840a3a6f58737f964a6e9513b799fedf3 (patch)
tree382572e8ca4d8a48e3ee4d14156f591dea18078e
parentb18ab9761afc91d3ac4220e5dbee7b6c89e43d8a (diff)
downloadgtk+-ce06c4b840a3a6f58737f964a6e9513b799fedf3.tar.gz
gsk: Make repeat nodes deserializable
This was just a simple oversight.
-rw-r--r--gsk/gskrendernodeimpl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gsk/gskrendernodeimpl.c b/gsk/gskrendernodeimpl.c
index ad6ffdace5..c5d26b2a2e 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;
}