Emmanuele Bassi f935270aa0 script: Do not allocate memory when not needed
When printing out the property value during a ClutterScript debug run we
generate the value's content using g_strdup_value_contents() - though we
do it unconditionally. The contents might not be printed (they most
likely won't, actually) and will be freed afterwards. This is
unnecessary: we can allocate the contents string after checking if we're
going to print out the debug note, thus avoiding the whole
allocation/free cycle unless strictly needed.
2010-03-19 16:24:34 +00:00
..
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-19 11:13:04 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-02 11:12:32 +00:00
2010-02-25 12:01:03 +00:00
2010-03-03 10:47:42 +00:00
2010-03-02 11:12:32 +00:00
2010-03-02 11:12:32 +00:00
2010-03-02 11:12:32 +00:00
2010-03-02 11:12:32 +00:00
2010-02-03 14:38:13 +00:00
2010-03-02 11:12:32 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 15:25:45 +00:00