Ecore-sdl: remove unused events and fix semicolon typo and docs

SVN revision: 63338
This commit is contained in:
Youness Alaoui 2011-09-12 03:43:46 +00:00
parent 35874b4819
commit 0db90cab00
2 changed files with 6 additions and 12 deletions

View File

@ -36,14 +36,8 @@
extern "C" {
#endif
EAPI extern int ECORE_SDL_EVENT_KEY_DOWN; /**< SDL Key Down event */
EAPI extern int ECORE_SDL_EVENT_KEY_UP; /**< SDL Key Up event */
EAPI extern int ECORE_SDL_EVENT_MOUSE_BUTTON_DOWN; /**< SDL Mouse Down event */
EAPI extern int ECORE_SDL_EVENT_MOUSE_BUTTON_UP; /**< SDL Mouse Up event */
EAPI extern int ECORE_SDL_EVENT_MOUSE_MOVE; /**< SDL Mouse Move event */
EAPI extern int ECORE_SDL_EVENT_MOUSE_WHEEL; /**< SDL Mouse Wheel event */
EAPI extern int ECORE_SDL_EVENT_GOT_FOCUS; /**< SDL Mouse Wheel event */
EAPI extern int ECORE_SDL_EVENT_LOST_FOCUS; /**< SDL Mouse Wheel event */
EAPI extern int ECORE_SDL_EVENT_GOT_FOCUS;
EAPI extern int ECORE_SDL_EVENT_LOST_FOCUS;
EAPI extern int ECORE_SDL_EVENT_RESIZE;
EAPI extern int ECORE_SDL_EVENT_EXPOSE;

View File

@ -50,9 +50,9 @@ _ecore_sdl_pressed_node(const Ecore_SDL_Pressed *node,
}
/**
* @defgroup Ecore_Sdl_Library_Group Framebuffer Library Functions
* @defgroup Ecore_Sdl_Library_Group SDL Library Functions
*
* Functions used to set up and shut down the Ecore_Framebuffer functions.
* Functions used to set up and shut down the Ecore_Sdl functions.
*/
/**
@ -96,8 +96,8 @@ ecore_sdl_init(const char *name __UNUSED__)
EAPI int
ecore_sdl_shutdown(void)
{
if (--_ecore_sdl_init_count != 0);
return _ecore_sdl_init_count;
if (--_ecore_sdl_init_count != 0)
return _ecore_sdl_init_count;
ecore_event_shutdown();
eina_log_domain_unregister(_ecore_sdl_log_dom);