2007-10-25 Emmanuele Bassi <ebassi@openedhand.com>
authorEmmanuele Bassi <ebassi@openedhand.com>
Thu, 25 Oct 2007 15:14:06 +0000 (15:14 +0000)
committerEmmanuele Bassi <ebassi@openedhand.com>
Thu, 25 Oct 2007 15:14:06 +0000 (15:14 +0000)
* clutter/clutter-script-parser.c: Unset the GValue when
getting a ClutterUnit from a JSON node.

ChangeLog
clutter/clutter-script-parser.c

index b65f5aa..6ad8c67 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2007-10-25  Emmanuele Bassi  <ebassi@openedhand.com>
 
+       * clutter/clutter-script-parser.c: Unset the GValue when
+       getting a ClutterUnit from a JSON node.
+
+2007-10-25  Emmanuele Bassi  <ebassi@openedhand.com>
+
        * clutter/clutter-behaviour-bspline.c: Implement the
        ClutterScriptableIface to parse the custom "knots" property.
 
index 379b0de..09e8469 100644 (file)
@@ -284,6 +284,8 @@ get_units_from_node (JsonNode *node)
       break;
     }
 
+  g_value_unset (&value);
+
   return retval;
 }