2007-10-10 Emmanuele Bassi <ebassi@openedhand.com>
authorEmmanuele Bassi <ebassi@openedhand.com>
Wed, 10 Oct 2007 10:44:45 +0000 (10:44 +0000)
committerEmmanuele Bassi <ebassi@openedhand.com>
Wed, 10 Oct 2007 10:44:45 +0000 (10:44 +0000)
* clutter/clutter-script.c (json_object_end): Add "type_func"
to the list of attributes we skip.

ChangeLog
clutter/clutter-script.c

index a5f79fd..4274f0a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2007-10-10  Emmanuele Bassi  <ebassi@openedhand.com>
 
+       * clutter/clutter-script.c (json_object_end): Add "type_func"
+       to the list of attributes we skip.
+
+2007-10-10  Emmanuele Bassi  <ebassi@openedhand.com>
+
        * clutter/json/json-parser.c: Use the commodity JsonNode API
        and accept bare values as root nodes.
 
index 8e60bdd..9d3606b 100644 (file)
@@ -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
         {