summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <c.bail@partner.samsung.com>2014-06-07 18:18:34 +0200
committerCedric BAIL <c.bail@partner.samsung.com>2014-06-07 21:08:46 +0200
commit950bc15684fbf67e9a1c7285b2b383e0a10a192b (patch)
tree1ced877eff2ada31dbcf8c8d17028df59f74e4dd
parent3f0826942b1a2c7b879647d8325f2fc5e1de0fcc (diff)
clock: remove use of deprecated functions.
-rw-r--r--src/lib/elm_clock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elm_clock.c b/src/lib/elm_clock.c
index 62f307317..759819876 100644
--- a/src/lib/elm_clock.c
+++ b/src/lib/elm_clock.c
@@ -414,7 +414,7 @@ _time_update(Evas_Object *obj)
414 edje_object_size_min_restricted_calc 414 edje_object_size_min_restricted_calc
415 (sd->digit[i], &mw, &mh, mw, mh); 415 (sd->digit[i], &mw, &mh, mw, mh);
416 elm_coords_finger_size_adjust(1, &mw, 2, &mh); 416 elm_coords_finger_size_adjust(1, &mw, 2, &mh);
417 edje_extern_object_min_size_set(sd->digit[i], mw, mh); 417 evas_object_size_hint_min_set(sd->digit[i], mw, mh);
418 snprintf(buf, sizeof(buf), "d%i", i); 418 snprintf(buf, sizeof(buf), "d%i", i);
419 elm_layout_content_set(obj, buf, sd->digit[i]); 419 elm_layout_content_set(obj, buf, sd->digit[i]);
420 evas_object_show(sd->digit[i]); 420 evas_object_show(sd->digit[i]);
@@ -448,7 +448,7 @@ _time_update(Evas_Object *obj)
448 edje_object_size_min_restricted_calc 448 edje_object_size_min_restricted_calc
449 (sd->am_pm_obj, &mw, &mh, mw, mh); 449 (sd->am_pm_obj, &mw, &mh, mw, mh);
450 elm_coords_finger_size_adjust(1, &mw, 2, &mh); 450 elm_coords_finger_size_adjust(1, &mw, 2, &mh);
451 edje_extern_object_min_size_set(sd->am_pm_obj, mw, mh); 451 evas_object_size_hint_min_set(sd->am_pm_obj, mw, mh);
452 elm_layout_content_set(obj, "ampm", sd->am_pm_obj); 452 elm_layout_content_set(obj, "ampm", sd->am_pm_obj);
453 evas_object_show(sd->am_pm_obj); 453 evas_object_show(sd->am_pm_obj);
454 } 454 }