From: Tom Hacohen Date: Thu, 3 Apr 2014 15:39:38 +0000 (+0100) Subject: photo: Adjusted to Eo2. X-Git-Tag: v1.10.0-alpha1~126^2~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2f119ce7b550c83eee509fd7d6964c90a205261a;p=platform%2Fupstream%2Felementary.git photo: Adjusted to Eo2. --- diff --git a/src/lib/elm_photo.c b/src/lib/elm_photo.c index eeb4ea4..2618da3 100644 --- a/src/lib/elm_photo.c +++ b/src/lib/elm_photo.c @@ -52,7 +52,7 @@ _elm_photo_elm_widget_theme_apply(Eo *obj, Elm_Photo_Data *sd) Eina_Bool int_ret = EINA_FALSE; ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EINA_FALSE); - eo_do_super(obj, MY_CLASS, elm_obj_widget_theme_apply(&int_ret)); + eo_do_super(obj, MY_CLASS, int_ret = elm_obj_widget_theme_apply()); if (!int_ret) return EINA_FALSE; edje_object_mirrored_set @@ -315,7 +315,7 @@ _elm_photo_eo_base_constructor(Eo *obj, Elm_Photo_Data *_pd EINA_UNUSED) eo_do_super(obj, MY_CLASS, eo_constructor()); eo_do(obj, evas_obj_type_set(MY_CLASS_NAME_LEGACY), - evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL)); + evas_obj_smart_callbacks_descriptions_set(_smart_callbacks)); } EOLIAN static Eina_Bool