forked from enlightenment/efl
clock: remove use of deprecated functions.
This commit is contained in:
parent
f4faf5d54a
commit
aacad9142d
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue