cedric pushed a commit to branch master.

http://git.enlightenment.org/games/elemines.git/commit/?id=87727b9a936354885a967d965a14624e5672147c

commit 87727b9a936354885a967d965a14624e5672147c
Author: Shuhrat Dehkanov <sh.dehka...@samsung.com>
Date:   Tue May 10 15:24:11 2016 -0700

    do not call init() from main
    
    Summary: There is no need to call `init()` from main (redundant call), 
because `elm_toolbar_item_append()` calls it for us when initializing the UI.
    
    Reviewers: cedric
    
    Subscribers: seoz
    
    Differential Revision: https://phab.enlightenment.org/D3912
    
    Signed-off-by: Cedric Bail <ced...@osg.samsung.com>
---
 src/main.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/main.c b/src/main.c
index d786972..b53b58c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -223,7 +223,6 @@ elm_main(int argc __UNUSED__, char **argv __UNUSED__)
    if (gui(theme, fullscreen) != EINA_TRUE)
      return -1;
 
-   init(NULL, NULL, NULL);
    if (debug == EINA_TRUE) _debug();
 
    elm_run();

-- 


Reply via email to