etrunko pushed a commit to branch master.
commit c03c6bd12cf8fe90186873c379524263fd8f59a7
Author: Eduardo Lima (Etrunko) <[email protected]>
Date: Tue May 28 16:07:31 2013 -0300
edje_cc: create data hash if it doesn't exist
The check was being done only in 'data.item' handler
Signed-off-by: Eduardo Lima (Etrunko) <[email protected]>
---
src/bin/edje/edje_cc_handlers.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c
index 3bdcba3..ad6da1b 100644
--- a/src/bin/edje/edje_cc_handlers.c
+++ b/src/bin/edje/edje_cc_handlers.c
@@ -1852,6 +1852,9 @@ st_data_file(void)
es->str = value;
+ if (!edje_file->data)
+ edje_file->data = eina_hash_string_small_new(free);
+
eina_hash_direct_add(edje_file->data, key, es);
free(filename);
--
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1