diff --git a/legacy/ecore/src/lib/ecore_sdl/Ecore_Sdl.h b/legacy/ecore/src/lib/ecore_sdl/Ecore_Sdl.h index 317b0fcdf4..359e974718 100644 --- a/legacy/ecore/src/lib/ecore_sdl/Ecore_Sdl.h +++ b/legacy/ecore/src/lib/ecore_sdl/Ecore_Sdl.h @@ -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; diff --git a/legacy/ecore/src/lib/ecore_sdl/ecore_sdl.c b/legacy/ecore/src/lib/ecore_sdl/ecore_sdl.c index a19db4ad59..0694d9492c 100644 --- a/legacy/ecore/src/lib/ecore_sdl/ecore_sdl.c +++ b/legacy/ecore/src/lib/ecore_sdl/ecore_sdl.c @@ -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);