elm: Fix compilation warnings

This commit is contained in:
Jean-Philippe Andre 2016-06-13 21:06:31 +09:00
parent 22c7b2bae2
commit a60f2afd60
2 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ _selection_done_path(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
evas_object_smart_callback_call(sd->obj, "file,chosen", (void *) path);
// EVENTS: code above should not be needed
Eo_Event e = {0,};
Eo_Event e = { NULL, NULL, NULL };
if (path)
e.info = eo_add(EIO_MODEL_CLASS, NULL, eio_model_path_set(eo_self, path));
_selection_done(data, &e);

View File

@ -108,7 +108,7 @@ _FILE_CHOSEN_fwd_path(void *data, Evas_Object *obj EINA_UNUSED, void *event_info
{
const char *path = event_info;
Eo_Event e = {0,};
Eo_Event e = { NULL, NULL, NULL };
if (path)
e.info = eo_add(EIO_MODEL_CLASS, NULL, eio_model_path_set(eo_self, path));
_FILE_CHOSEN_fwd(data, &e);