remember that time when somebody made a commit which caused elm to always spew lots of critical warnings on startup because there was no null check?

SVN revision: 63994
This commit is contained in:
Mike Blumenkrantz 2011-10-11 21:19:08 +00:00
parent 1ac843e259
commit fa0834772c
1 changed files with 3 additions and 1 deletions

View File

@ -435,9 +435,11 @@ _elm_ews_wm_config_change_cb(void *data __UNUSED__, int type __UNUSED__, void *e
void
_elm_ews_wm_rescale(Elm_Theme *th, Eina_Bool use_theme)
{
Eina_Iterator *it = eina_hash_iterator_tuple_new(_ews_borders);
Eina_Iterator *it;
Eina_Hash_Tuple *tp = NULL;
if (!_ews_borders) return;
it = eina_hash_iterator_tuple_new(_ews_borders);
if (!use_theme)
{
EINA_ITERATOR_FOREACH(it, tp)