forked from enlightenment/efl
elm: Fix compilation warnings
This commit is contained in:
parent
22c7b2bae2
commit
a60f2afd60
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue