etrunko pushed a commit to branch edje-1.7.
commit 288372f378f683b6bb7975cf10fd13b9bb190ebc
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_cc_handlers.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/bin/edje_cc_handlers.c b/src/bin/edje_cc_handlers.c
index 9dd2cac..36178d2 100644
--- a/src/bin/edje_cc_handlers.c
+++ b/src/bin/edje_cc_handlers.c
@@ -1641,6 +1641,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