forked from enlightenment/efl
index_example_02: fix index example
Summary: If this is not initialized, then the reuse function will be != NULL which causes a SEGV Reviewers: cedric, segfaultxavi, zmike, stefan_schmidt Reviewed By: segfaultxavi Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8376
This commit is contained in:
parent
58b8a3d163
commit
d0f32d21c3
|
@ -87,7 +87,7 @@ elm_main(int argc EINA_UNUSED,
|
||||||
Elm_Object_Item *gg_it;
|
Elm_Object_Item *gg_it;
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
|
|
||||||
Elm_Gengrid_Item_Class gic;
|
Elm_Gengrid_Item_Class gic = { 0 };
|
||||||
|
|
||||||
elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
|
elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
|
||||||
elm_app_info_set(elm_main, "elementary", "images");
|
elm_app_info_set(elm_main, "elementary", "images");
|
||||||
|
|
Loading…
Reference in New Issue