forked from enlightenment/efl
Explicit the correct return value type
SVN revision: 53957
This commit is contained in:
parent
d938999c78
commit
ca382f2316
|
@ -1800,7 +1800,7 @@ extern "C" {
|
|||
ELM_PHOTOCAM_ZOOM_MODE_LAST
|
||||
} Elm_Photocam_Zoom_Mode;
|
||||
EAPI Evas_Object *elm_photocam_add(Evas_Object *parent);
|
||||
EAPI int elm_photocam_file_set(Evas_Object *obj, const char *file);
|
||||
EAPI Evas_Load_Error elm_photocam_file_set(Evas_Object *obj, const char *file);
|
||||
EAPI const char * elm_photocam_file_get(const Evas_Object *obj);
|
||||
EAPI void elm_photocam_zoom_set(Evas_Object *obj, double zoom);
|
||||
EAPI double elm_photocam_zoom_get(const Evas_Object *obj);
|
||||
|
|
|
@ -1072,10 +1072,10 @@ elm_photocam_add(Evas_Object *parent)
|
|||
*
|
||||
* @ingroup Photocam
|
||||
*/
|
||||
EAPI int
|
||||
EAPI Evas_Load_Error
|
||||
elm_photocam_file_set(Evas_Object *obj, const char *file)
|
||||
{
|
||||
ELM_CHECK_WIDTYPE(obj, widtype) 0;
|
||||
ELM_CHECK_WIDTYPE(obj, widtype) EVAS_LOAD_ERROR_NONE;
|
||||
Widget_Data *wd = elm_widget_data_get(obj);
|
||||
int w, h;
|
||||
if (!wd) return EVAS_LOAD_ERROR_GENERIC;
|
||||
|
|
Loading…
Reference in New Issue