summaryrefslogtreecommitdiff
path: root/src/examples/gengrid_example.c
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2012-03-28 06:04:36 +0000
committerDaniel Juyung Seo <seojuyung2@gmail.com>2012-03-28 06:04:36 +0000
commit853aabf827c1e3567c3ca02cc2e7d9d0b456817a (patch)
tree707506086298d8b95e8e878acab28447f149b95f /src/examples/gengrid_example.c
parentd6440aa81a61bc6d6f5fde040340268b6ab887c6 (diff)
elm examples: Use standard way of elementary applications. EAPI_MAIN, elm_shutdown, ELM_MAIN()
SVN revision: 69690
Diffstat (limited to 'src/examples/gengrid_example.c')
-rw-r--r--src/examples/gengrid_example.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/examples/gengrid_example.c b/src/examples/gengrid_example.c
index d55dabaee..b85378b46 100644
--- a/src/examples/gengrid_example.c
+++ b/src/examples/gengrid_example.c
@@ -425,7 +425,7 @@ _page_change_cb(void *data,
425 fprintf(stdout, "Setting grid page's relative size to %f\n", val); 425 fprintf(stdout, "Setting grid page's relative size to %f\n", val);
426} 426}
427 427
428int 428EAPI_MAIN int
429elm_main(int argc __UNUSED__, 429elm_main(int argc __UNUSED__,
430 char **argv __UNUSED__) 430 char **argv __UNUSED__)
431{ 431{
@@ -628,7 +628,8 @@ elm_main(int argc __UNUSED__,
628 evas_object_show(win); 628 evas_object_show(win);
629 629
630 elm_run(); 630 elm_run();
631 elm_shutdown();
632
631 return 0; 633 return 0;
632} 634}
633
634ELM_MAIN() 635ELM_MAIN()