remember that time when somebody made a commit which caused elm to always spew lots...
authordiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 11 Oct 2011 21:19:08 +0000 (21:19 +0000)
committerdiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 11 Oct 2011 21:19:08 +0000 (21:19 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@63994 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elu_ews_wm.c

index 578718d..0ea3c19 100644 (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)