config: Fix segfault

We can pass here NULL, win does not have a specific saved e_comp.
So we pass NULL to e_comp_get and get the current active one.

This fixes T1937.
This commit is contained in:
Marcel Hollerbach 2014-12-24 13:16:01 +01:00
parent 6510e8bd0e
commit 0083aa552a
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
Evas_Object *o, *of, *ol, *ob;
E_Zone *zone;
zone = e_zone_current_get(e_comp_get(cfd->dia->win));
zone = e_zone_current_get(e_comp_get(NULL));
o = e_widget_list_add(evas, 0, 0);