hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=f16c21a0dc17999f86a6fb0a3724774f5c714954

commit f16c21a0dc17999f86a6fb0a3724774f5c714954
Author: ChunEon Park <[email protected]>
Date:   Thu Jan 30 02:48:26 2014 +0900

    menu - set global menu instance as possible as soon.
    
    we aren't sure when the global menu instance is accessed in the future.
    so make it safe as possible.
---
 src/bin/menu.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/menu.c b/src/bin/menu.c
index f8c65fb..9043329 100644
--- a/src/bin/menu.c
+++ b/src/bin/menu.c
@@ -1004,9 +1004,10 @@ void
 menu_init(Evas_Object *win, edit_data *ed)
 {
    menu_data *md = calloc(1, sizeof(menu_data));
+   g_md = md;
+
    md->win = win;
    md->ed = ed;
-   g_md = md;
 }
 
 void

-- 


Reply via email to