*
* @see evas_obj_image_file_set
*/
-#define evas_obj_image_mmap_set(f, key) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_MMAP_SET), EO_TYPECHECK(Eina_File *, f), EO_TYPECHECK(const char*, key)
+#define evas_obj_image_mmap_set(f, key) EVAS_OBJ_IMAGE_ID(EVAS_OBJ_IMAGE_SUB_ID_MMAP_SET), EO_TYPECHECK(const Eina_File *, f), EO_TYPECHECK(const char*, key)
/**
* @def evas_obj_image_file_get
*
* @since 1.8
*/
-EAPI void evas_object_image_mmap_set(Evas_Object *eo_obj, Eina_File *f, const char *key);
+EAPI void evas_object_image_mmap_set(Evas_Object *eo_obj, const Eina_File *f, const char *key);
/**
* Retrieve the source file from where an image object is to fetch the
}
static void
-_image_init_set(Eina_File *f, const char *file, const char *key,
+_image_init_set(const Eina_File *f, const char *file, const char *key,
Eo *eo_obj, Evas_Object_Protected_Data *obj, Evas_Object_Image *o,
Evas_Image_Load_Opts *lo)
{
}
EAPI void
-evas_object_image_mmap_set(Evas_Object *eo_obj, Eina_File *f, const char *key)
+evas_object_image_mmap_set(Evas_Object *eo_obj, const Eina_File *f, const char *key)
{
eo_do(eo_obj, evas_obj_image_mmap_set(f, key));
}
Evas_Object_Image *o = _pd;
Evas_Image_Load_Opts lo;
- Eina_File *f = va_arg(*list, Eina_File *);
+ const Eina_File *f = va_arg(*list, const Eina_File *);
const char *key = va_arg(*list, const char*);
if (o->cur->u.f == f)
if ((EINA_INLIST_GET(it)->next) ||
(EINA_INLIST_GET(it)->prev) ||
- (o->items == (EINA_INLIST_GET(it))))
+ (EINA_INLIST_GET(o->items) == (EINA_INLIST_GET(it))))
o->items = (Evas_Object_Text_Item *)eina_inlist_remove
(EINA_INLIST_GET(o->items), EINA_INLIST_GET(it));
_evas_object_text_item_clean(it);