menu - don't need to return menu instance anymore.

menu is handled globally with the singleton way.
This commit is contained in:
ChunEon Park 2014-01-30 01:19:29 +09:00
parent 9af9369c79
commit f2e4f53c59
2 changed files with 2 additions and 3 deletions

View File

@ -1093,7 +1093,7 @@ menu_open(menu_data *md)
md->open_depth++;
}
menu_data *
void
menu_init(Evas_Object *win, edit_data *ed, config_data *cd)
{
menu_data *md = calloc(1, sizeof(menu_data));
@ -1101,7 +1101,6 @@ menu_init(Evas_Object *win, edit_data *ed, config_data *cd)
md->ed = ed;
md->cd = cd;
g_md = md;
return md;
}
void

View File

@ -1,6 +1,6 @@
#define VIEW_DATA edj_mgr_view_get(NULL, NULL)
menu_data *menu_init(Evas_Object *win, edit_data *ed, config_data *cd);
void menu_init(Evas_Object *win, edit_data *ed, config_data *cd);
void menu_term();
void menu_toggle();
void menu_ctxpopup_register(Evas_Object *ctxpopup);