forked from enlightenment/efl
fix symbol visibility in plugins.
ethumb_plugin_get() must be visible, _module_init/shutdown do not. also add some __UNUSED__ attribute to shut up -Wextra SVN revision: 41372
This commit is contained in:
parent
b803f43e91
commit
51e81f52ef
|
@ -49,13 +49,13 @@ _resize_movie(struct _emotion_plugin *_plugin)
|
|||
}
|
||||
|
||||
static void
|
||||
_frame_resized_cb(void *data, Evas_Object *o, void *event_info)
|
||||
_frame_resized_cb(void *data, Evas_Object *o __UNUSED__, void *event_info __UNUSED__)
|
||||
{
|
||||
_resize_movie(data);
|
||||
}
|
||||
|
||||
static void
|
||||
_video_stopped_cb(void *data, Evas_Object *o, void *event_info)
|
||||
_video_stopped_cb(void *data, Evas_Object *o __UNUSED__, void *event_info __UNUSED__)
|
||||
{
|
||||
struct _emotion_plugin *_plugin = data;
|
||||
|
||||
|
@ -350,14 +350,14 @@ ethumb_plugin_get(void)
|
|||
return &plugin;
|
||||
}
|
||||
|
||||
Eina_Bool
|
||||
static Eina_Bool
|
||||
_module_init(void)
|
||||
{
|
||||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
void
|
||||
_module_shutdown()
|
||||
static void
|
||||
_module_shutdown(void)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@ _generate_thumb(Ethumb *e)
|
|||
ethumb_finished_callback_call(e, 1);
|
||||
}
|
||||
|
||||
Ethumb_Plugin *
|
||||
EAPI Ethumb_Plugin *
|
||||
ethumb_plugin_get(void)
|
||||
{
|
||||
static const char *extensions[] = { "pdf", NULL };
|
||||
|
@ -77,7 +77,7 @@ ethumb_plugin_get(void)
|
|||
return &plugin;
|
||||
}
|
||||
|
||||
Eina_Bool
|
||||
static Eina_Bool
|
||||
_module_init(void)
|
||||
{
|
||||
epdf_init();
|
||||
|
|
Loading…
Reference in New Issue