summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-12-08 16:10:20 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-12-08 16:30:34 +0900
commit055e905b84c702d746155dbd8f3b655a920a7577 (patch)
tree423129c949fd30214f623ebfd9485c19b56e49e6
parentf1d546df5dbdf9c963098e7a1b9ef8724e957eb8 (diff)
downloadefl-055e905b84c702d746155dbd8f3b655a920a7577.tar.gz
theme: Fix crash at app shutdown
The wrong hash was used to store theme data items. Obviously this is an API that wasn't used within EFL thus untested. Yay. @fix
-rw-r--r--src/lib/elementary/elm_theme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_theme.c b/src/lib/elementary/elm_theme.c
index f7a24514f3..9349fca29a 100644
--- a/src/lib/elementary/elm_theme.c
+++ b/src/lib/elementary/elm_theme.c
@@ -242,7 +242,7 @@ _elm_theme_find_data_try(Elm_Theme *th, const Eina_File *f, const char *key)
free(data);
if (t)
{
- eina_hash_add(th->cache, key, t);
+ eina_hash_add(th->cache_data, key, t);
return t;
}
return NULL;