- Move adding ecore event to on_create function
Change-Id: I7502ef84d4a7c5aa773f102060564adf5230fce8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
_appcore_mw_context.argc = argc;
_appcore_mw_context.argv = argv;
_appcore_mw_context.argc = argc;
_appcore_mw_context.argv = argv;
- _appcore_mw_context.hshow = ecore_event_handler_add(ECORE_WL_EVENT_WINDOW_SHOW, __stub_show_cb, NULL);
- _appcore_mw_context.hhide = ecore_event_handler_add(ECORE_WL_EVENT_WINDOW_HIDE, __stub_hide_cb, NULL);
- _appcore_mw_context.hvchange = ecore_event_handler_add(ECORE_WL_EVENT_WINDOW_VISIBILITY_CHANGE,
- __stub_visibility_cb, NULL);
- _appcore_mw_context.hlower = ecore_event_handler_add(ECORE_WL_EVENT_WINDOW_LOWER, __stub_lower_cb, NULL);
-
return appcore_base_init(ops.base, argc, argv, data);
}
return appcore_base_init(ops.base, argc, argv, data);
}
{
appcore_base_on_create();
{
appcore_base_on_create();
+ _appcore_mw_context.hshow = ecore_event_handler_add(ECORE_WL_EVENT_WINDOW_SHOW, __stub_show_cb, NULL);
+ _appcore_mw_context.hhide = ecore_event_handler_add(ECORE_WL_EVENT_WINDOW_HIDE, __stub_hide_cb, NULL);
+ _appcore_mw_context.hvchange = ecore_event_handler_add(ECORE_WL_EVENT_WINDOW_VISIBILITY_CHANGE,
+ __stub_visibility_cb, NULL);
+ _appcore_mw_context.hlower = ecore_event_handler_add(ECORE_WL_EVENT_WINDOW_LOWER, __stub_lower_cb, NULL);
+