forked from enlightenment/enventor
menu - don't need to return menu instance anymore.
menu is handled globally with the singleton way.
This commit is contained in:
parent
9af9369c79
commit
f2e4f53c59
|
@ -1093,7 +1093,7 @@ menu_open(menu_data *md)
|
||||||
md->open_depth++;
|
md->open_depth++;
|
||||||
}
|
}
|
||||||
|
|
||||||
menu_data *
|
void
|
||||||
menu_init(Evas_Object *win, edit_data *ed, config_data *cd)
|
menu_init(Evas_Object *win, edit_data *ed, config_data *cd)
|
||||||
{
|
{
|
||||||
menu_data *md = calloc(1, sizeof(menu_data));
|
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->ed = ed;
|
||||||
md->cd = cd;
|
md->cd = cd;
|
||||||
g_md = md;
|
g_md = md;
|
||||||
return md;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#define VIEW_DATA edj_mgr_view_get(NULL, NULL)
|
#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_term();
|
||||||
void menu_toggle();
|
void menu_toggle();
|
||||||
void menu_ctxpopup_register(Evas_Object *ctxpopup);
|
void menu_ctxpopup_register(Evas_Object *ctxpopup);
|
||||||
|
|
Loading…
Reference in New Issue