e-modules/evry* use 'extern' for evry_api
SVN revision: 62377
This commit is contained in:
parent
6e9bda3438
commit
7f7ab2f838
|
@ -18,7 +18,6 @@ struct _Plugin
|
|||
Eina_List *files;
|
||||
};
|
||||
|
||||
static const Evry_API *evry = NULL;
|
||||
static Evry_Module *evry_module = NULL;
|
||||
static Eina_List *_plugins = NULL;
|
||||
static const char _module_icon[] = "find";
|
||||
|
@ -254,15 +253,13 @@ _act_mount(Evry_Action *act)
|
|||
}
|
||||
|
||||
static int
|
||||
_plugins_init(const Evry_API *api)
|
||||
_plugins_init(void)
|
||||
{
|
||||
Evry_Plugin *p;
|
||||
|
||||
if (evry_module->active)
|
||||
return EINA_TRUE;
|
||||
|
||||
evry = api;
|
||||
|
||||
if (!evry->api_version_check(EVRY_API_VERSION))
|
||||
return EINA_FALSE;
|
||||
|
||||
|
@ -342,7 +339,7 @@ e_modapi_init(E_Module *m)
|
|||
bindtextdomain(PACKAGE, buf);
|
||||
bind_textdomain_codeset(PACKAGE, "UTF-8");
|
||||
|
||||
EVRY_MODULE_NEW(evry_module, evry, _plugins_init, _plugins_shutdown);
|
||||
EVRY_MODULE_NEW(evry_module, _plugins_init, _plugins_shutdown);
|
||||
|
||||
e_module_delayed_set(m, 1);
|
||||
|
||||
|
|
Loading…
Reference in New Issue