From: barbieri Date: Fri, 7 Sep 2012 15:41:22 +0000 (+0000) Subject: edje_codegen: Making the example uses the new object get X-Git-Tag: submit/2.0alpha-wayland/20121127.221958~109 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=79d9df631029ca549672ba57fad80f357ea91430;p=profile%2Fivi%2Fedje.git edje_codegen: Making the example uses the new object get function Patch by: Flavio Ceolin git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@76315 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/examples/edje-codegen-example.c b/src/examples/edje-codegen-example.c index 8ce06e6..535f9f0 100644 --- a/src/examples/edje-codegen-example.c +++ b/src/examples/edje-codegen-example.c @@ -108,8 +108,7 @@ main(int argc, char *argv[]) evas_object_show(bg); ecore_evas_object_associate(ee, bg, ECORE_EVAS_OBJECT_ASSOCIATE_BASE); - edje_obj = edje_object_add(evas); - edje_object_file_set(edje_obj, edje_file, "example_group"); + edje_obj = codegen_example_object_add(evas, NULL); evas_object_move(edje_obj, 20, 20); evas_object_resize(edje_obj, WIDTH - 40, HEIGHT - 40); evas_object_show(edje_obj);