From 03c80d7025a3a7a29e64c709404c462d5ebeb1d0 Mon Sep 17 00:00:00 2001 From: Jaehyun Cho Date: Fri, 24 Oct 2014 11:57:33 +0900 Subject: [PATCH] live_edit: Fix build error by using open API instead of private API. Summary: Fix build error by using open API instead of private API. Reviewers: Hermet, seoz Differential Revision: https://phab.enlightenment.org/D1575 --- src/bin/live_edit.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/live_edit.c b/src/bin/live_edit.c index 8ee7b3f..62224d5 100644 --- a/src/bin/live_edit.c +++ b/src/bin/live_edit.c @@ -74,9 +74,9 @@ cur_part_value_update(live_data *ld, Evas_Object *edje) } static Evas_Object * -create_live_edit_layout() +create_live_edit_layout(live_data *ld) { - Evas_Object *viewer_layout = edj_mgr_obj_get(); + Evas_Object *viewer_layout = enventor_object_live_view_get(ld->enventor); Evas_Object *layout = elm_layout_add(viewer_layout); elm_layout_file_set(layout, EDJE_PATH, "live_edit_layout"); evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); @@ -222,7 +222,7 @@ live_edit_layer_set(live_data *ld) ld->key_down_handler = ecore_event_handler_add(ECORE_EVENT_KEY_DOWN, key_down_cb, ld); - Evas_Object *layout = create_live_edit_layout(); + Evas_Object *layout = create_live_edit_layout(ld); edje_object_signal_callback_add(elm_layout_edje_get(layout), "drag", "rel1_dragable",