elm/ews: fix theme apply.

eina_hash_pointer IS DISGUSTING! :-( It does not store the pointer,
but allocates something to hold the pointer, giving it back to you in
an unexpected way :-/



SVN revision: 63858
This commit is contained in:
Gustavo Sverzut Barbieri 2011-10-05 23:43:03 +00:00
parent 55bad5c8f6
commit f43d7bbdce
1 changed files with 2 additions and 2 deletions

View File

@ -441,7 +441,7 @@ _elm_ews_wm_rescale(Elm_Theme *th, Eina_Bool use_theme)
if (!use_theme)
{
EINA_ITERATOR_FOREACH(it, tp)
_elm_ews_wm_border_theme_set((void*)tp->key, tp->data, NULL);
_elm_ews_wm_border_theme_set(*(void**)tp->key, tp->data, NULL);
if (_ews_bg)
_elm_theme_set(NULL, _ews_bg, "ews", "background", "default");
@ -449,7 +449,7 @@ _elm_ews_wm_rescale(Elm_Theme *th, Eina_Bool use_theme)
else
{
EINA_ITERATOR_FOREACH(it, tp)
_elm_ews_wm_border_theme_set((void*)tp->key, tp->data, th);
_elm_ews_wm_border_theme_set(*(void**)tp->key, tp->data, th);
if (_ews_bg)
_elm_theme_set(th, _ews_bg, "ews", "background", "default");