forked from enlightenment/efl
emile: rename emile_image_register to emile_image_callback_set.
This fix ABI report according to discussion on the mailing list.
This commit is contained in:
parent
dc08c57411
commit
5420ebaf32
|
@ -2460,7 +2460,7 @@ emile_image_jpeg_file_open(Eina_File *source,
|
|||
}
|
||||
|
||||
EAPI void
|
||||
emile_image_register(Emile_Image *image, Emile_Action_Cb callback, Emile_Action action, const void *data)
|
||||
emile_image_callback_set(Emile_Image *image, Emile_Action_Cb callback, Emile_Action action, const void *data)
|
||||
{
|
||||
if (!image) return ;
|
||||
// We only handle one type of callback for now
|
||||
|
|
|
@ -313,7 +313,7 @@ EAPI Eina_Bool emile_image_data(Emile_Image * image, Emile_Image_Property * prop
|
|||
* @param action The action this callback is triggered on.
|
||||
* @since 1.19
|
||||
*/
|
||||
EAPI void emile_image_register(Emile_Image *image, Emile_Action_Cb callback, Emile_Action action, const void *data);
|
||||
EAPI void emile_image_callback_set(Emile_Image *image, Emile_Action_Cb callback, Emile_Action action, const void *data);
|
||||
|
||||
/**
|
||||
* Close an opened image handler.
|
||||
|
|
|
@ -103,9 +103,9 @@ evas_image_load_file_data_jpeg(void *loader_data,
|
|||
Emile_Image_Load_Error image_error;
|
||||
Eina_Bool ret;
|
||||
|
||||
emile_image_register(loader->image,
|
||||
_evas_image_load_jpeg_cancelled,
|
||||
EMILE_ACTION_CANCELLED, NULL);
|
||||
emile_image_callback_set(loader->image,
|
||||
_evas_image_load_jpeg_cancelled,
|
||||
EMILE_ACTION_CANCELLED, NULL);
|
||||
ret = emile_image_data(loader->image,
|
||||
prop, sizeof (*prop),
|
||||
pixels,
|
||||
|
|
Loading…
Reference in New Issue