forked from enlightenment/efl
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:
parent
55bad5c8f6
commit
f43d7bbdce
|
@ -441,7 +441,7 @@ _elm_ews_wm_rescale(Elm_Theme *th, Eina_Bool use_theme)
|
||||||
if (!use_theme)
|
if (!use_theme)
|
||||||
{
|
{
|
||||||
EINA_ITERATOR_FOREACH(it, tp)
|
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)
|
if (_ews_bg)
|
||||||
_elm_theme_set(NULL, _ews_bg, "ews", "background", "default");
|
_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
|
else
|
||||||
{
|
{
|
||||||
EINA_ITERATOR_FOREACH(it, tp)
|
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)
|
if (_ews_bg)
|
||||||
_elm_theme_set(th, _ews_bg, "ews", "background", "default");
|
_elm_theme_set(th, _ews_bg, "ews", "background", "default");
|
||||||
|
|
Loading…
Reference in New Issue