cedric pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=950bc15684fbf67e9a1c7285b2b383e0a10a192b
commit 950bc15684fbf67e9a1c7285b2b383e0a10a192b Author: Cedric BAIL <[email protected]> Date: Sat Jun 7 18:18:34 2014 +0200 clock: remove use of deprecated functions. --- src/lib/elm_clock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/elm_clock.c b/src/lib/elm_clock.c index 62f3073..7598198 100644 --- a/src/lib/elm_clock.c +++ b/src/lib/elm_clock.c @@ -414,7 +414,7 @@ _time_update(Evas_Object *obj) edje_object_size_min_restricted_calc (sd->digit[i], &mw, &mh, mw, mh); elm_coords_finger_size_adjust(1, &mw, 2, &mh); - edje_extern_object_min_size_set(sd->digit[i], mw, mh); + evas_object_size_hint_min_set(sd->digit[i], mw, mh); snprintf(buf, sizeof(buf), "d%i", i); elm_layout_content_set(obj, buf, sd->digit[i]); evas_object_show(sd->digit[i]); @@ -448,7 +448,7 @@ _time_update(Evas_Object *obj) edje_object_size_min_restricted_calc (sd->am_pm_obj, &mw, &mh, mw, mh); elm_coords_finger_size_adjust(1, &mw, 2, &mh); - edje_extern_object_min_size_set(sd->am_pm_obj, mw, mh); + evas_object_size_hint_min_set(sd->am_pm_obj, mw, mh); elm_layout_content_set(obj, "ampm", sd->am_pm_obj); evas_object_show(sd->am_pm_obj); } --
