summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_fb/ecore_fb.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2010-09-19 03:25:15 +0000
committerCarsten Haitzler <raster@rasterman.com>2010-09-19 03:25:15 +0000
commit308f4b0c22dabff87ef902f9175b76438219b47e (patch)
treefbb1cc6fef1771f99b332c37b8cfa9390d36e7a7 /legacy/ecore/src/lib/ecore_fb/ecore_fb.c
parent773c57ea1a7ba2522010eae89b7383202e740daf (diff)
warnings--
SVN revision: 52454
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore_fb/ecore_fb.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/legacy/ecore/src/lib/ecore_fb/ecore_fb.c b/legacy/ecore/src/lib/ecore_fb/ecore_fb.c
index 3507ed7943..ebc9631ea5 100644
--- a/legacy/ecore/src/lib/ecore_fb/ecore_fb.c
+++ b/legacy/ecore/src/lib/ecore_fb/ecore_fb.c
@@ -18,9 +18,6 @@ static int _ecore_fb_init_count = 0;
18static int _ecore_fb_console_w = 0; 18static int _ecore_fb_console_w = 0;
19static int _ecore_fb_console_h = 0; 19static int _ecore_fb_console_h = 0;
20 20
21static double _ecore_fb_double_click_time = 0.25;
22
23
24/** 21/**
25 * @defgroup Ecore_FB_Library_Group Framebuffer Library Functions 22 * @defgroup Ecore_FB_Library_Group Framebuffer Library Functions
26 * 23 *
@@ -38,11 +35,11 @@ EAPI int
38ecore_fb_init(const char *name __UNUSED__) 35ecore_fb_init(const char *name __UNUSED__)
39{ 36{
40 if (++_ecore_fb_init_count != 1) 37 if (++_ecore_fb_init_count != 1)
41 return _ecore_fb_init_count; 38 return _ecore_fb_init_count;
42 39
43 if (!ecore_fb_vt_init()) 40 if (!ecore_fb_vt_init())
44 return --_ecore_fb_init_count; 41 return --_ecore_fb_init_count;
45 42
46 ECORE_FB_EVENT_KEY_DOWN = ecore_event_type_new(); 43 ECORE_FB_EVENT_KEY_DOWN = ecore_event_type_new();
47 ECORE_FB_EVENT_KEY_UP = ecore_event_type_new(); 44 ECORE_FB_EVENT_KEY_UP = ecore_event_type_new();
48 ECORE_FB_EVENT_MOUSE_BUTTON_DOWN = ecore_event_type_new(); 45 ECORE_FB_EVENT_MOUSE_BUTTON_DOWN = ecore_event_type_new();
@@ -64,7 +61,7 @@ EAPI int
64ecore_fb_shutdown(void) 61ecore_fb_shutdown(void)
65{ 62{
66 if (--_ecore_fb_init_count != 0) 63 if (--_ecore_fb_init_count != 0)
67 return _ecore_fb_init_count; 64 return _ecore_fb_init_count;
68 65
69 ecore_fb_vt_shutdown(); 66 ecore_fb_vt_shutdown();
70 67