hermet pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=d36beba2bb0aa2e914de5e6ccd118f67872614df
commit d36beba2bb0aa2e914de5e6ccd118f67872614df Author: Yeongjong Lee <[email protected]> Date: Tue Mar 26 15:04:52 2019 +0900 elm_photocam: fix correct return value in elm_photocam_file_set Test Plan: `elm_photocam_file_set(NULL, "file_name");` Reviewers: Hermet Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8473 --- src/lib/elementary/efl_ui_image_zoomable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/elementary/efl_ui_image_zoomable.c b/src/lib/elementary/efl_ui_image_zoomable.c index 0f68d709b2..b7ff98a22c 100644 --- a/src/lib/elementary/efl_ui_image_zoomable.c +++ b/src/lib/elementary/efl_ui_image_zoomable.c @@ -3359,8 +3359,8 @@ elm_photocam_zoom_mode_get(const Evas_Object *obj) EAPI Evas_Load_Error elm_photocam_file_set(Evas_Object *obj, const char *file) { - ELM_PHOTOCAM_CHECK(obj) EVAS_LOAD_ERROR_NONE; - EINA_SAFETY_ON_NULL_RETURN_VAL(file, EVAS_LOAD_ERROR_NONE); + ELM_PHOTOCAM_CHECK(obj) EVAS_LOAD_ERROR_GENERIC; + EINA_SAFETY_ON_NULL_RETURN_VAL(file, EVAS_LOAD_ERROR_GENERIC); if (efl_file_simple_load(obj, file, NULL)) return EVAS_LOAD_ERROR_NONE; Eina_Error err = eina_error_get(); --
