image: Remove unnecessary parameter for elm_obj_image_editable_set.

This parameter was introduced as an internal funciton parameter long ago and migrated to eo as it was.
But this parameter is not needed. obj pointer is already there.

Thanks to Yakov for the report.
This commit is contained in:
Daniel Juyung Seo 2014-01-02 09:11:25 +09:00
parent 77c90d1bc6
commit f232ff14be
2 changed files with 4 additions and 6 deletions

View File

@ -1461,7 +1461,7 @@ elm_image_editable_set(Evas_Object *obj,
Eina_Bool set)
{
ELM_IMAGE_CHECK(obj);
eo_do(obj, elm_obj_image_editable_set(set, obj));
eo_do(obj, elm_obj_image_editable_set(set));
}
/**
@ -1473,7 +1473,6 @@ _elm_image_smart_editable_set(Eo *obj, void *_pd, va_list *list)
{
Elm_Image_Smart_Data *sd = _pd;
Eina_Bool edit = va_arg(*list, int);
Evas_Object *parent = va_arg(*list, Evas_Object *);
if (sd->edje)
{
@ -1493,14 +1492,14 @@ _elm_image_smart_editable_set(Eo *obj, void *_pd, va_list *list)
NULL, NULL,
NULL, NULL,
NULL, NULL,
_elm_image_drag_n_drop_cb, parent);
_elm_image_drag_n_drop_cb, obj);
else
elm_drop_target_del
(obj, ELM_SEL_FORMAT_IMAGE,
NULL, NULL,
NULL, NULL,
NULL, NULL,
_elm_image_drag_n_drop_cb, parent);
_elm_image_drag_n_drop_cb, obj);
}
EAPI Eina_Bool

View File

@ -289,11 +289,10 @@ enum
* Make the image 'editable'.
*
* @param[in] set
* @param[in] parent
*
* @see elm_image_editable_set
*/
#define elm_obj_image_editable_set(set, parent) ELM_OBJ_IMAGE_ID(ELM_OBJ_IMAGE_SUB_ID_EDITABLE_SET), EO_TYPECHECK(Eina_Bool, set), EO_TYPECHECK(Evas_Object *, parent)
#define elm_obj_image_editable_set(set) ELM_OBJ_IMAGE_ID(ELM_OBJ_IMAGE_SUB_ID_EDITABLE_SET), EO_TYPECHECK(Eina_Bool, set)
/**
* @def elm_obj_image_editable_get