create: bring back callback to notify UI.
Add check also for NULL in rare case.
This commit is contained in:
parent
1d2e8e3c00
commit
708a134120
|
@ -290,8 +290,9 @@ _edi_create_error_cb(void *data, Eio_File *handler EINA_UNUSED, int error)
|
||||||
Edi_Create *create;
|
Edi_Create *create;
|
||||||
|
|
||||||
create = (Edi_Create *) data;
|
create = (Edi_Create *) data;
|
||||||
(void) create;
|
|
||||||
ERR("copy error: [%s]\n", strerror(error));
|
ERR("copy error: [%s]\n", strerror(error));
|
||||||
|
if (create && create->callback)
|
||||||
|
create->callback(create->path, EINA_FALSE);
|
||||||
|
|
||||||
_edi_create_free_data();
|
_edi_create_free_data();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue