From 704aa0c6d76dbad4f92dc6ff30fd1f1fe1b17478 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 10 Oct 2007 10:44:45 +0000 Subject: [PATCH] 2007-10-10 Emmanuele Bassi * clutter/clutter-script.c (json_object_end): Add "type_func" to the list of attributes we skip. --- ChangeLog | 5 +++++ clutter/clutter-script.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a5f79fd7c..4274f0ac8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-10-10 Emmanuele Bassi + + * clutter/clutter-script.c (json_object_end): Add "type_func" + to the list of attributes we skip. + 2007-10-10 Emmanuele Bassi * clutter/json/json-parser.c: Use the commodity JsonNode API diff --git a/clutter/clutter-script.c b/clutter/clutter-script.c index 8e60bdd4d..9d3606bb4 100644 --- a/clutter/clutter-script.c +++ b/clutter/clutter-script.c @@ -600,7 +600,9 @@ json_object_end (JsonParser *parser, val = json_object_get_member (object, name); - if (strcmp (name, "id") == 0 || strcmp (name, "type") == 0) + if (strcmp (name, "id") == 0 || + strcmp (name, "type_func") == 0 || + strcmp (name, "type") == 0) continue; else {