summaryrefslogtreecommitdiff
path: root/src/tests/emotion
diff options
context:
space:
mode:
authorCedric BAIL <c.bail@partner.samsung.com>2014-06-07 18:13:39 +0200
committerCedric BAIL <c.bail@partner.samsung.com>2014-06-07 18:13:39 +0200
commit8dcb75ad094eeedb4ddd451df4b07f20969dd34d (patch)
tree5a37b36f63dd7528687f528520cda8e629859ec9 /src/tests/emotion
parentdb95ecb84bdeec35346abb435a722586e1d4fcac (diff)
edje: simplify and deprecate stub function.
Diffstat (limited to 'src/tests/emotion')
-rw-r--r--src/tests/emotion/emotion_test_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/emotion/emotion_test_main.c b/src/tests/emotion/emotion_test_main.c
index d5dfc8b608..dd85905ba8 100644
--- a/src/tests/emotion/emotion_test_main.c
+++ b/src/tests/emotion/emotion_test_main.c
@@ -353,11 +353,11 @@ video_obj_frame_resize_cb(void *data, Evas_Object *obj, void *event_info EINA_UN
353 ratio = emotion_object_ratio_get(obj); 353 ratio = emotion_object_ratio_get(obj);
354 printf("HANDLE %ix%i @ %3.3f\n", iw, ih, ratio); 354 printf("HANDLE %ix%i @ %3.3f\n", iw, ih, ratio);
355 if (ratio > 0.0) iw = (ih * ratio) + 0.5; 355 if (ratio > 0.0) iw = (ih * ratio) + 0.5;
356 edje_extern_object_min_size_set(obj, iw, ih); 356 evas_object_size_hint_min_set(obj, iw, ih);
357 edje_object_part_swallow(oe, "video_swallow", obj); 357 edje_object_part_swallow(oe, "video_swallow", obj);
358 edje_object_size_min_calc(oe, &w, &h); 358 edje_object_size_min_calc(oe, &w, &h);
359 evas_object_resize(oe, w, h); 359 evas_object_resize(oe, w, h);
360 edje_extern_object_min_size_set(obj, 0, 0); 360 evas_object_size_hint_min_set(obj, 0, 0);
361 edje_object_part_swallow(oe, "video_swallow", obj); 361 edje_object_part_swallow(oe, "video_swallow", obj);
362} 362}
363 363