summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>2011-09-12 03:43:46 +0000
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>2011-09-12 03:43:46 +0000
commit0db90cab00fa05c2889071bd269db81db7e765cf (patch)
tree9d27515e6a8ef3da0f325e8bbd10d4cca7b5d002
parent35874b4819caebf37e357931fea68bc2c1146295 (diff)
Ecore-sdl: remove unused events and fix semicolon typo and docs
SVN revision: 63338
-rw-r--r--legacy/ecore/src/lib/ecore_sdl/Ecore_Sdl.h10
-rw-r--r--legacy/ecore/src/lib/ecore_sdl/ecore_sdl.c8
2 files changed, 6 insertions, 12 deletions
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 @@
36extern "C" { 36extern "C" {
37#endif 37#endif
38 38
39EAPI extern int ECORE_SDL_EVENT_KEY_DOWN; /**< SDL Key Down event */ 39EAPI extern int ECORE_SDL_EVENT_GOT_FOCUS;
40EAPI extern int ECORE_SDL_EVENT_KEY_UP; /**< SDL Key Up event */ 40EAPI extern int ECORE_SDL_EVENT_LOST_FOCUS;
41EAPI extern int ECORE_SDL_EVENT_MOUSE_BUTTON_DOWN; /**< SDL Mouse Down event */
42EAPI extern int ECORE_SDL_EVENT_MOUSE_BUTTON_UP; /**< SDL Mouse Up event */
43EAPI extern int ECORE_SDL_EVENT_MOUSE_MOVE; /**< SDL Mouse Move event */
44EAPI extern int ECORE_SDL_EVENT_MOUSE_WHEEL; /**< SDL Mouse Wheel event */
45EAPI extern int ECORE_SDL_EVENT_GOT_FOCUS; /**< SDL Mouse Wheel event */
46EAPI extern int ECORE_SDL_EVENT_LOST_FOCUS; /**< SDL Mouse Wheel event */
47EAPI extern int ECORE_SDL_EVENT_RESIZE; 41EAPI extern int ECORE_SDL_EVENT_RESIZE;
48EAPI extern int ECORE_SDL_EVENT_EXPOSE; 42EAPI extern int ECORE_SDL_EVENT_EXPOSE;
49 43
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,
50} 50}
51 51
52/** 52/**
53 * @defgroup Ecore_Sdl_Library_Group Framebuffer Library Functions 53 * @defgroup Ecore_Sdl_Library_Group SDL Library Functions
54 * 54 *
55 * Functions used to set up and shut down the Ecore_Framebuffer functions. 55 * Functions used to set up and shut down the Ecore_Sdl functions.
56 */ 56 */
57 57
58/** 58/**
@@ -96,8 +96,8 @@ ecore_sdl_init(const char *name __UNUSED__)
96EAPI int 96EAPI int
97ecore_sdl_shutdown(void) 97ecore_sdl_shutdown(void)
98{ 98{
99 if (--_ecore_sdl_init_count != 0); 99 if (--_ecore_sdl_init_count != 0)
100 return _ecore_sdl_init_count; 100 return _ecore_sdl_init_count;
101 101
102 ecore_event_shutdown(); 102 ecore_event_shutdown();
103 eina_log_domain_unregister(_ecore_sdl_log_dom); 103 eina_log_domain_unregister(_ecore_sdl_log_dom);