forked from enlightenment/enlightenment
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:
parent
6510e8bd0e
commit
0083aa552a
|
@ -166,7 +166,7 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
|
||||||
Evas_Object *o, *of, *ol, *ob;
|
Evas_Object *o, *of, *ol, *ob;
|
||||||
E_Zone *zone;
|
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);
|
o = e_widget_list_add(evas, 0, 0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue