hermet pushed a commit to branch master. http://git.enlightenment.org/tools/enventor.git/commit/?id=826045dda64dc858fec62e7f794e133851bb658d
commit 826045dda64dc858fec62e7f794e133851bb658d Author: ChunEon Park <[email protected]> Date: Tue Oct 14 15:30:00 2014 +0900 main: code clean up --- src/bin/main.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/bin/main.c b/src/bin/main.c index 606bae5..d6a0862 100644 --- a/src/bin/main.c +++ b/src/bin/main.c @@ -740,9 +740,10 @@ statusbar_set() } static void -template_show() +template_show(void) { - menu_edc_new(EINA_TRUE); + if (ad->template_new) + menu_edc_new(EINA_TRUE); } static Eina_Bool @@ -770,7 +771,7 @@ init(app_data *ad, int argc, char **argv) menu_init(ad->enventor); - if (ad->template_new) template_show(); + template_show(); return EINA_TRUE; } --
