summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-12-19 11:14:37 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-12-19 11:14:37 +0900
commitff24ac2d6ddaafba49ae5100f17fe37e5d874140 (patch)
treeb98881dd9ccb98896bbc8784a91e6b61a7403b41
parent47bf356435d7b4562e64f45ef59dbf190dff16c7 (diff)
efl: Reset ecore event types on init
This fixes cycles of init/shutdown/init where ecore event types would become invalid, since they are now stored in a dynamic array rather than a statically stored array. The risk here is that if a module of EFL tends to init/shutdown in a "normal" scenario then the event type array will grow in a leaking manner. This could be fixed by resetting those event ID's only when the loop actually exits (EFL_EVENT_DEL on the main loop). I'm not using EFL_EVENT_DEL in this patch as this would add too many event callbacks to the main loop object, which may result in slightly slower event calls to it, affecting the overall performance.
-rw-r--r--src/lib/ecore_evas/ecore_evas_ews.c1
-rw-r--r--src/lib/ecore_evas/ecore_evas_extn.c1
-rw-r--r--src/lib/ecore_wayland/ecore_wl.c35
-rw-r--r--src/lib/ecore_win32/ecore_win32.c33
-rw-r--r--src/lib/ecore_wl2/ecore_wl2.c91
-rw-r--r--src/lib/ecore_x/ecore_x.c133
-rw-r--r--src/lib/ecore_x/ecore_x_dnd.c15
-rw-r--r--src/lib/eeze/eeze_sensor.c45
-rw-r--r--src/lib/efreet/efreet_cache.c9
-rw-r--r--src/lib/eio/eio_monitor.c25
-rw-r--r--src/lib/elementary/elm_config.c3
-rw-r--r--src/lib/elementary/elm_main.c9
-rw-r--r--src/lib/elementary/elm_systray.c3
-rw-r--r--src/lib/elementary/elm_thumb.c3
-rw-r--r--src/lib/elocation/elocation.c27
-rw-r--r--src/lib/elput/elput.c21
-rw-r--r--src/lib/emotion/emotion_webcam.c9
17 files changed, 211 insertions, 252 deletions
diff --git a/src/lib/ecore_evas/ecore_evas_ews.c b/src/lib/ecore_evas/ecore_evas_ews.c
index ee40f00..77a33f7 100644
--- a/src/lib/ecore_evas/ecore_evas_ews.c
+++ b/src/lib/ecore_evas/ecore_evas_ews.c
@@ -684,7 +684,6 @@ static const Ecore_Evas_Engine_Func _ecore_ews_engine_func =
684void 684void
685_ecore_evas_ews_events_init(void) 685_ecore_evas_ews_events_init(void)
686{ 686{
687 if (ECORE_EVAS_EWS_EVENT_MANAGER_CHANGE != 0) return;
688 ECORE_EVAS_EWS_EVENT_MANAGER_CHANGE = ecore_event_type_new(); 687 ECORE_EVAS_EWS_EVENT_MANAGER_CHANGE = ecore_event_type_new();
689 ECORE_EVAS_EWS_EVENT_ADD = ecore_event_type_new(); 688 ECORE_EVAS_EWS_EVENT_ADD = ecore_event_type_new();
690 ECORE_EVAS_EWS_EVENT_DEL = ecore_event_type_new(); 689 ECORE_EVAS_EWS_EVENT_DEL = ecore_event_type_new();
diff --git a/src/lib/ecore_evas/ecore_evas_extn.c b/src/lib/ecore_evas/ecore_evas_extn.c
index 141bd78..6f0beae 100644
--- a/src/lib/ecore_evas/ecore_evas_extn.c
+++ b/src/lib/ecore_evas/ecore_evas_extn.c
@@ -11,7 +11,6 @@ EAPI int ECORE_EVAS_EXTN_CLIENT_DEL = 0;
11void 11void
12_ecore_evas_extn_init(void) 12_ecore_evas_extn_init(void)
13{ 13{
14 if (ECORE_EVAS_EXTN_CLIENT_ADD != 0) return ;
15 ECORE_EVAS_EXTN_CLIENT_ADD = ecore_event_type_new(); 14 ECORE_EVAS_EXTN_CLIENT_ADD = ecore_event_type_new();
16 ECORE_EVAS_EXTN_CLIENT_DEL = ecore_event_type_new(); 15 ECORE_EVAS_EXTN_CLIENT_DEL = ecore_event_type_new();
17} 16}
diff --git a/src/lib/ecore_wayland/ecore_wl.c b/src/lib/ecore_wayland/ecore_wl.c
index ae1bb4a..3bc3125 100644
--- a/src/lib/ecore_wayland/ecore_wl.c
+++ b/src/lib/ecore_wayland/ecore_wl.c
@@ -154,25 +154,22 @@ ecore_wl_init(const char *name)
154 goto exit_ecore_event; 154 goto exit_ecore_event;
155 } 155 }
156 156
157 if (!ECORE_WL_EVENT_MOUSE_IN) 157 ECORE_WL_EVENT_MOUSE_IN = ecore_event_type_new();
158 { 158 ECORE_WL_EVENT_MOUSE_OUT = ecore_event_type_new();
159 ECORE_WL_EVENT_MOUSE_IN = ecore_event_type_new(); 159 ECORE_WL_EVENT_FOCUS_IN = ecore_event_type_new();
160 ECORE_WL_EVENT_MOUSE_OUT = ecore_event_type_new(); 160 ECORE_WL_EVENT_FOCUS_OUT = ecore_event_type_new();
161 ECORE_WL_EVENT_FOCUS_IN = ecore_event_type_new(); 161 ECORE_WL_EVENT_WINDOW_CONFIGURE = ecore_event_type_new();
162 ECORE_WL_EVENT_FOCUS_OUT = ecore_event_type_new(); 162 ECORE_WL_EVENT_DND_ENTER = ecore_event_type_new();
163 ECORE_WL_EVENT_WINDOW_CONFIGURE = ecore_event_type_new(); 163 ECORE_WL_EVENT_DND_POSITION = ecore_event_type_new();
164 ECORE_WL_EVENT_DND_ENTER = ecore_event_type_new(); 164 ECORE_WL_EVENT_DND_LEAVE = ecore_event_type_new();
165 ECORE_WL_EVENT_DND_POSITION = ecore_event_type_new(); 165 ECORE_WL_EVENT_DND_DROP = ecore_event_type_new();
166 ECORE_WL_EVENT_DND_LEAVE = ecore_event_type_new(); 166 ECORE_WL_EVENT_DND_OFFER = ecore_event_type_new();
167 ECORE_WL_EVENT_DND_DROP = ecore_event_type_new(); 167 ECORE_WL_EVENT_DND_END = ecore_event_type_new();
168 ECORE_WL_EVENT_DND_OFFER = ecore_event_type_new(); 168 ECORE_WL_EVENT_DATA_SOURCE_TARGET = ecore_event_type_new();
169 ECORE_WL_EVENT_DND_END = ecore_event_type_new(); 169 ECORE_WL_EVENT_DATA_SOURCE_SEND = ecore_event_type_new();
170 ECORE_WL_EVENT_DATA_SOURCE_TARGET = ecore_event_type_new(); 170 ECORE_WL_EVENT_SELECTION_DATA_READY = ecore_event_type_new();
171 ECORE_WL_EVENT_DATA_SOURCE_SEND = ecore_event_type_new(); 171 ECORE_WL_EVENT_DATA_SOURCE_CANCELLED = ecore_event_type_new();
172 ECORE_WL_EVENT_SELECTION_DATA_READY = ecore_event_type_new(); 172 ECORE_WL_EVENT_INTERFACES_BOUND = ecore_event_type_new();
173 ECORE_WL_EVENT_DATA_SOURCE_CANCELLED = ecore_event_type_new();
174 ECORE_WL_EVENT_INTERFACES_BOUND = ecore_event_type_new();
175 }
176 173
177 if (!(_ecore_wl_disp = calloc(1, sizeof(Ecore_Wl_Display)))) 174 if (!(_ecore_wl_disp = calloc(1, sizeof(Ecore_Wl_Display))))
178 { 175 {
diff --git a/src/lib/ecore_win32/ecore_win32.c b/src/lib/ecore_win32/ecore_win32.c
index c207f0b..ec9738e 100644
--- a/src/lib/ecore_win32/ecore_win32.c
+++ b/src/lib/ecore_win32/ecore_win32.c
@@ -570,24 +570,21 @@ ecore_win32_init()
570 goto unregister_class; 570 goto unregister_class;
571 } 571 }
572 572
573 if (!ECORE_WIN32_EVENT_MOUSE_IN) 573 ECORE_WIN32_EVENT_MOUSE_IN = ecore_event_type_new();
574 { 574 ECORE_WIN32_EVENT_MOUSE_OUT = ecore_event_type_new();
575 ECORE_WIN32_EVENT_MOUSE_IN = ecore_event_type_new(); 575 ECORE_WIN32_EVENT_WINDOW_FOCUS_IN = ecore_event_type_new();
576 ECORE_WIN32_EVENT_MOUSE_OUT = ecore_event_type_new(); 576 ECORE_WIN32_EVENT_WINDOW_FOCUS_OUT = ecore_event_type_new();
577 ECORE_WIN32_EVENT_WINDOW_FOCUS_IN = ecore_event_type_new(); 577 ECORE_WIN32_EVENT_WINDOW_DAMAGE = ecore_event_type_new();
578 ECORE_WIN32_EVENT_WINDOW_FOCUS_OUT = ecore_event_type_new(); 578 ECORE_WIN32_EVENT_WINDOW_CREATE = ecore_event_type_new();
579 ECORE_WIN32_EVENT_WINDOW_DAMAGE = ecore_event_type_new(); 579 ECORE_WIN32_EVENT_WINDOW_DESTROY = ecore_event_type_new();
580 ECORE_WIN32_EVENT_WINDOW_CREATE = ecore_event_type_new(); 580 ECORE_WIN32_EVENT_WINDOW_SHOW = ecore_event_type_new();
581 ECORE_WIN32_EVENT_WINDOW_DESTROY = ecore_event_type_new(); 581 ECORE_WIN32_EVENT_WINDOW_HIDE = ecore_event_type_new();
582 ECORE_WIN32_EVENT_WINDOW_SHOW = ecore_event_type_new(); 582 ECORE_WIN32_EVENT_WINDOW_CONFIGURE = ecore_event_type_new();
583 ECORE_WIN32_EVENT_WINDOW_HIDE = ecore_event_type_new(); 583 ECORE_WIN32_EVENT_WINDOW_RESIZE = ecore_event_type_new();
584 ECORE_WIN32_EVENT_WINDOW_CONFIGURE = ecore_event_type_new(); 584 ECORE_WIN32_EVENT_WINDOW_PROPERTY = ecore_event_type_new();
585 ECORE_WIN32_EVENT_WINDOW_RESIZE = ecore_event_type_new(); 585 ECORE_WIN32_EVENT_WINDOW_DELETE_REQUEST = ecore_event_type_new();
586 ECORE_WIN32_EVENT_WINDOW_PROPERTY = ecore_event_type_new(); 586 ECORE_WIN32_EVENT_SELECTION_CLEAR = ecore_event_type_new();
587 ECORE_WIN32_EVENT_WINDOW_DELETE_REQUEST = ecore_event_type_new(); 587 ECORE_WIN32_EVENT_SELECTION_NOTIFY = ecore_event_type_new();
588 ECORE_WIN32_EVENT_SELECTION_CLEAR = ecore_event_type_new();
589 ECORE_WIN32_EVENT_SELECTION_NOTIFY = ecore_event_type_new();
590 }
591 588
592 for (i = 0; i < 77; i++) 589 for (i = 0; i < 77; i++)
593 _ecore_win32_cursor_x[i] = _ecore_win32_cursor_x11_shaped_new(i); 590 _ecore_win32_cursor_x[i] = _ecore_win32_cursor_x11_shaped_new(i);
diff --git a/src/lib/ecore_wl2/ecore_wl2.c b/src/lib/ecore_wl2/ecore_wl2.c
index ba22eb1..c309a92 100644
--- a/src/lib/ecore_wl2/ecore_wl2.c
+++ b/src/lib/ecore_wl2/ecore_wl2.c
@@ -90,53 +90,50 @@ ecore_wl2_init(void)
90 } 90 }
91 91
92 /* handle creating new Ecore_Wl2 event types */ 92 /* handle creating new Ecore_Wl2 event types */
93 if (!ECORE_WL2_EVENT_GLOBAL_ADDED) 93 ECORE_WL2_EVENT_CONNECT = ecore_event_type_new();
94 { 94 ECORE_WL2_EVENT_DISCONNECT = ecore_event_type_new();
95 ECORE_WL2_EVENT_CONNECT = ecore_event_type_new(); 95 ECORE_WL2_EVENT_GLOBAL_ADDED = ecore_event_type_new();
96 ECORE_WL2_EVENT_DISCONNECT = ecore_event_type_new(); 96 ECORE_WL2_EVENT_GLOBAL_REMOVED = ecore_event_type_new();
97 ECORE_WL2_EVENT_GLOBAL_ADDED = ecore_event_type_new(); 97 ECORE_WL2_EVENT_FOCUS_IN = ecore_event_type_new();
98 ECORE_WL2_EVENT_GLOBAL_REMOVED = ecore_event_type_new(); 98 ECORE_WL2_EVENT_FOCUS_OUT = ecore_event_type_new();
99 ECORE_WL2_EVENT_FOCUS_IN = ecore_event_type_new(); 99 ECORE_WL2_EVENT_DND_ENTER = ecore_event_type_new();
100 ECORE_WL2_EVENT_FOCUS_OUT = ecore_event_type_new(); 100 ECORE_WL2_EVENT_DND_LEAVE = ecore_event_type_new();
101 ECORE_WL2_EVENT_DND_ENTER = ecore_event_type_new(); 101 ECORE_WL2_EVENT_DND_MOTION = ecore_event_type_new();
102 ECORE_WL2_EVENT_DND_LEAVE = ecore_event_type_new(); 102 ECORE_WL2_EVENT_DND_DROP = ecore_event_type_new();
103 ECORE_WL2_EVENT_DND_MOTION = ecore_event_type_new(); 103 ECORE_WL2_EVENT_DND_END = ecore_event_type_new();
104 ECORE_WL2_EVENT_DND_DROP = ecore_event_type_new(); 104 ECORE_WL2_EVENT_DATA_SOURCE_END = ecore_event_type_new();
105 ECORE_WL2_EVENT_DND_END = ecore_event_type_new(); 105 ECORE_WL2_EVENT_DATA_SOURCE_DROP = ecore_event_type_new();
106 ECORE_WL2_EVENT_DATA_SOURCE_END = ecore_event_type_new(); 106 ECORE_WL2_EVENT_DATA_SOURCE_ACTION = ecore_event_type_new();
107 ECORE_WL2_EVENT_DATA_SOURCE_DROP = ecore_event_type_new(); 107 ECORE_WL2_EVENT_DATA_SOURCE_TARGET = ecore_event_type_new();
108 ECORE_WL2_EVENT_DATA_SOURCE_ACTION = ecore_event_type_new(); 108 ECORE_WL2_EVENT_DATA_SOURCE_SEND = ecore_event_type_new();
109 ECORE_WL2_EVENT_DATA_SOURCE_TARGET = ecore_event_type_new(); 109 ECORE_WL2_EVENT_WINDOW_CONFIGURE = ecore_event_type_new();
110 ECORE_WL2_EVENT_DATA_SOURCE_SEND = ecore_event_type_new(); 110 ECORE_WL2_EVENT_SYNC_DONE = ecore_event_type_new();
111 ECORE_WL2_EVENT_WINDOW_CONFIGURE = ecore_event_type_new(); 111 ECORE_WL2_EVENT_OFFER_DATA_READY = ecore_event_type_new();
112 ECORE_WL2_EVENT_SYNC_DONE = ecore_event_type_new(); 112 ECORE_WL2_EVENT_SEAT_NAME_CHANGED = ecore_event_type_new();
113 ECORE_WL2_EVENT_OFFER_DATA_READY = ecore_event_type_new(); 113 ECORE_WL2_EVENT_SEAT_CAPABILITIES_CHANGED = ecore_event_type_new();
114 ECORE_WL2_EVENT_SEAT_NAME_CHANGED = ecore_event_type_new(); 114 ECORE_WL2_EVENT_DEVICE_ADDED = ecore_event_type_new();
115 ECORE_WL2_EVENT_SEAT_CAPABILITIES_CHANGED = ecore_event_type_new(); 115 ECORE_WL2_EVENT_DEVICE_REMOVED = ecore_event_type_new();
116 ECORE_WL2_EVENT_DEVICE_ADDED = ecore_event_type_new(); 116 _ecore_wl2_event_window_www = ecore_event_type_new();
117 ECORE_WL2_EVENT_DEVICE_REMOVED = ecore_event_type_new(); 117 _ecore_wl2_event_window_www_drag = ecore_event_type_new();
118 _ecore_wl2_event_window_www = ecore_event_type_new(); 118 ECORE_WL2_EVENT_WINDOW_CONFIGURE_COMPLETE = ecore_event_type_new();
119 _ecore_wl2_event_window_www_drag = ecore_event_type_new(); 119 ECORE_WL2_EVENT_SEAT_KEYMAP_CHANGED = ecore_event_type_new();
120 ECORE_WL2_EVENT_WINDOW_CONFIGURE_COMPLETE = ecore_event_type_new(); 120 ECORE_WL2_EVENT_SEAT_KEYBOARD_REPEAT_CHANGED = ecore_event_type_new();
121 ECORE_WL2_EVENT_SEAT_KEYMAP_CHANGED = ecore_event_type_new(); 121 ECORE_WL2_EVENT_SEAT_SELECTION = ecore_event_type_new();
122 ECORE_WL2_EVENT_SEAT_KEYBOARD_REPEAT_CHANGED = ecore_event_type_new(); 122 ECORE_WL2_EVENT_OUTPUT_TRANSFORM = ecore_event_type_new();
123 ECORE_WL2_EVENT_SEAT_SELECTION = ecore_event_type_new(); 123 ECORE_WL2_EVENT_WINDOW_ROTATE = ecore_event_type_new();
124 ECORE_WL2_EVENT_OUTPUT_TRANSFORM = ecore_event_type_new(); 124 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE = ecore_event_type_new();
125 ECORE_WL2_EVENT_WINDOW_ROTATE = ecore_event_type_new(); 125 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE_DONE = ecore_event_type_new();
126 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE = ecore_event_type_new(); 126 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_REQUEST = ecore_event_type_new();
127 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_PREPARE_DONE = 127 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_DONE = ecore_event_type_new();
128 ecore_event_type_new(); 128 ECORE_WL2_EVENT_AUX_HINT_ALLOWED = ecore_event_type_new();
129 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_REQUEST = ecore_event_type_new(); 129 ECORE_WL2_EVENT_AUX_HINT_SUPPORTED = ecore_event_type_new();
130 ECORE_WL2_EVENT_WINDOW_ROTATION_CHANGE_DONE = ecore_event_type_new(); 130 ECORE_WL2_EVENT_AUX_MESSAGE = ecore_event_type_new();
131 ECORE_WL2_EVENT_AUX_HINT_ALLOWED = ecore_event_type_new(); 131 ECORE_WL2_EVENT_WINDOW_SHOW = ecore_event_type_new();
132 ECORE_WL2_EVENT_AUX_HINT_SUPPORTED = ecore_event_type_new(); 132 ECORE_WL2_EVENT_WINDOW_HIDE = ecore_event_type_new();
133 ECORE_WL2_EVENT_AUX_MESSAGE = ecore_event_type_new(); 133 ECORE_WL2_EVENT_WINDOW_ACTIVATE = ecore_event_type_new();
134 ECORE_WL2_EVENT_WINDOW_SHOW = ecore_event_type_new(); 134 ECORE_WL2_EVENT_WINDOW_DEACTIVATE = ecore_event_type_new();
135 ECORE_WL2_EVENT_WINDOW_HIDE = ecore_event_type_new(); 135 ECORE_WL2_EVENT_WINDOW_ICONIFY_STATE_CHANGE = ecore_event_type_new();
136 ECORE_WL2_EVENT_WINDOW_ACTIVATE = ecore_event_type_new(); 136
137 ECORE_WL2_EVENT_WINDOW_DEACTIVATE = ecore_event_type_new();
138 ECORE_WL2_EVENT_WINDOW_ICONIFY_STATE_CHANGE = ecore_event_type_new();
139 }
140 if (!no_session_recovery) 137 if (!no_session_recovery)
141 no_session_recovery = !!getenv("EFL_NO_WAYLAND_SESSION_RECOVERY"); 138 no_session_recovery = !!getenv("EFL_NO_WAYLAND_SESSION_RECOVERY");
142 139
diff --git a/src/lib/ecore_x/ecore_x.c b/src/lib/ecore_x/ecore_x.c
index f54f3c3..ff213a7 100644
--- a/src/lib/ecore_x/ecore_x.c
+++ b/src/lib/ecore_x/ecore_x.c
@@ -589,74 +589,71 @@ _ecore_x_init2(void)
589 589
590#endif /* ifdef ECORE_XGESTURE */ 590#endif /* ifdef ECORE_XGESTURE */
591 591
592 if (!ECORE_X_EVENT_ANY) 592 ECORE_X_EVENT_ANY = ecore_event_type_new();
593 { 593 ECORE_X_EVENT_MOUSE_IN = ecore_event_type_new();
594 ECORE_X_EVENT_ANY = ecore_event_type_new(); 594 ECORE_X_EVENT_MOUSE_OUT = ecore_event_type_new();
595 ECORE_X_EVENT_MOUSE_IN = ecore_event_type_new(); 595 ECORE_X_EVENT_WINDOW_FOCUS_IN = ecore_event_type_new();
596 ECORE_X_EVENT_MOUSE_OUT = ecore_event_type_new(); 596 ECORE_X_EVENT_WINDOW_FOCUS_OUT = ecore_event_type_new();
597 ECORE_X_EVENT_WINDOW_FOCUS_IN = ecore_event_type_new(); 597 ECORE_X_EVENT_WINDOW_KEYMAP = ecore_event_type_new();
598 ECORE_X_EVENT_WINDOW_FOCUS_OUT = ecore_event_type_new(); 598 ECORE_X_EVENT_WINDOW_DAMAGE = ecore_event_type_new();
599 ECORE_X_EVENT_WINDOW_KEYMAP = ecore_event_type_new(); 599 ECORE_X_EVENT_WINDOW_VISIBILITY_CHANGE = ecore_event_type_new();
600 ECORE_X_EVENT_WINDOW_DAMAGE = ecore_event_type_new(); 600 ECORE_X_EVENT_WINDOW_CREATE = ecore_event_type_new();
601 ECORE_X_EVENT_WINDOW_VISIBILITY_CHANGE = ecore_event_type_new(); 601 ECORE_X_EVENT_WINDOW_DESTROY = ecore_event_type_new();
602 ECORE_X_EVENT_WINDOW_CREATE = ecore_event_type_new(); 602 ECORE_X_EVENT_WINDOW_HIDE = ecore_event_type_new();
603 ECORE_X_EVENT_WINDOW_DESTROY = ecore_event_type_new(); 603 ECORE_X_EVENT_WINDOW_SHOW = ecore_event_type_new();
604 ECORE_X_EVENT_WINDOW_HIDE = ecore_event_type_new(); 604 ECORE_X_EVENT_WINDOW_SHOW_REQUEST = ecore_event_type_new();
605 ECORE_X_EVENT_WINDOW_SHOW = ecore_event_type_new(); 605 ECORE_X_EVENT_WINDOW_REPARENT = ecore_event_type_new();
606 ECORE_X_EVENT_WINDOW_SHOW_REQUEST = ecore_event_type_new(); 606 ECORE_X_EVENT_WINDOW_CONFIGURE = ecore_event_type_new();
607 ECORE_X_EVENT_WINDOW_REPARENT = ecore_event_type_new(); 607 ECORE_X_EVENT_WINDOW_CONFIGURE_REQUEST = ecore_event_type_new();
608 ECORE_X_EVENT_WINDOW_CONFIGURE = ecore_event_type_new(); 608 ECORE_X_EVENT_WINDOW_GRAVITY = ecore_event_type_new();
609 ECORE_X_EVENT_WINDOW_CONFIGURE_REQUEST = ecore_event_type_new(); 609 ECORE_X_EVENT_WINDOW_RESIZE_REQUEST = ecore_event_type_new();
610 ECORE_X_EVENT_WINDOW_GRAVITY = ecore_event_type_new(); 610 ECORE_X_EVENT_WINDOW_STACK = ecore_event_type_new();
611 ECORE_X_EVENT_WINDOW_RESIZE_REQUEST = ecore_event_type_new(); 611 ECORE_X_EVENT_WINDOW_STACK_REQUEST = ecore_event_type_new();
612 ECORE_X_EVENT_WINDOW_STACK = ecore_event_type_new(); 612 ECORE_X_EVENT_WINDOW_PROPERTY = ecore_event_type_new();
613 ECORE_X_EVENT_WINDOW_STACK_REQUEST = ecore_event_type_new(); 613 ECORE_X_EVENT_WINDOW_COLORMAP = ecore_event_type_new();
614 ECORE_X_EVENT_WINDOW_PROPERTY = ecore_event_type_new(); 614 ECORE_X_EVENT_WINDOW_MAPPING = ecore_event_type_new();
615 ECORE_X_EVENT_WINDOW_COLORMAP = ecore_event_type_new(); 615 ECORE_X_EVENT_MAPPING_CHANGE = ecore_event_type_new();
616 ECORE_X_EVENT_WINDOW_MAPPING = ecore_event_type_new(); 616 ECORE_X_EVENT_SELECTION_CLEAR = ecore_event_type_new();
617 ECORE_X_EVENT_MAPPING_CHANGE = ecore_event_type_new(); 617 ECORE_X_EVENT_SELECTION_REQUEST = ecore_event_type_new();
618 ECORE_X_EVENT_SELECTION_CLEAR = ecore_event_type_new(); 618 ECORE_X_EVENT_SELECTION_NOTIFY = ecore_event_type_new();
619 ECORE_X_EVENT_SELECTION_REQUEST = ecore_event_type_new(); 619 ECORE_X_EVENT_CLIENT_MESSAGE = ecore_event_type_new();
620 ECORE_X_EVENT_SELECTION_NOTIFY = ecore_event_type_new(); 620 ECORE_X_EVENT_WINDOW_SHAPE = ecore_event_type_new();
621 ECORE_X_EVENT_CLIENT_MESSAGE = ecore_event_type_new(); 621 ECORE_X_EVENT_SCREENSAVER_NOTIFY = ecore_event_type_new();
622 ECORE_X_EVENT_WINDOW_SHAPE = ecore_event_type_new(); 622 ECORE_X_EVENT_GESTURE_NOTIFY_FLICK = ecore_event_type_new();
623 ECORE_X_EVENT_SCREENSAVER_NOTIFY = ecore_event_type_new(); 623 ECORE_X_EVENT_GESTURE_NOTIFY_PAN = ecore_event_type_new();
624 ECORE_X_EVENT_GESTURE_NOTIFY_FLICK = ecore_event_type_new(); 624 ECORE_X_EVENT_GESTURE_NOTIFY_PINCHROTATION = ecore_event_type_new();
625 ECORE_X_EVENT_GESTURE_NOTIFY_PAN = ecore_event_type_new(); 625 ECORE_X_EVENT_GESTURE_NOTIFY_TAP = ecore_event_type_new();
626 ECORE_X_EVENT_GESTURE_NOTIFY_PINCHROTATION = ecore_event_type_new(); 626 ECORE_X_EVENT_GESTURE_NOTIFY_TAPNHOLD = ecore_event_type_new();
627 ECORE_X_EVENT_GESTURE_NOTIFY_TAP = ecore_event_type_new(); 627 ECORE_X_EVENT_GESTURE_NOTIFY_HOLD = ecore_event_type_new();
628 ECORE_X_EVENT_GESTURE_NOTIFY_TAPNHOLD = ecore_event_type_new(); 628 ECORE_X_EVENT_GESTURE_NOTIFY_GROUP = ecore_event_type_new();
629 ECORE_X_EVENT_GESTURE_NOTIFY_HOLD = ecore_event_type_new(); 629 ECORE_X_EVENT_SYNC_COUNTER = ecore_event_type_new();
630 ECORE_X_EVENT_GESTURE_NOTIFY_GROUP = ecore_event_type_new(); 630 ECORE_X_EVENT_SYNC_ALARM = ecore_event_type_new();
631 ECORE_X_EVENT_SYNC_COUNTER = ecore_event_type_new(); 631 ECORE_X_EVENT_SCREEN_CHANGE = ecore_event_type_new();
632 ECORE_X_EVENT_SYNC_ALARM = ecore_event_type_new(); 632 ECORE_X_EVENT_RANDR_CRTC_CHANGE = ecore_event_type_new();
633 ECORE_X_EVENT_SCREEN_CHANGE = ecore_event_type_new(); 633 ECORE_X_EVENT_RANDR_OUTPUT_CHANGE = ecore_event_type_new();
634 ECORE_X_EVENT_RANDR_CRTC_CHANGE = ecore_event_type_new(); 634 ECORE_X_EVENT_RANDR_OUTPUT_PROPERTY_NOTIFY = ecore_event_type_new();
635 ECORE_X_EVENT_RANDR_OUTPUT_CHANGE = ecore_event_type_new(); 635 ECORE_X_EVENT_DAMAGE_NOTIFY = ecore_event_type_new();
636 ECORE_X_EVENT_RANDR_OUTPUT_PROPERTY_NOTIFY = ecore_event_type_new(); 636
637 ECORE_X_EVENT_DAMAGE_NOTIFY = ecore_event_type_new(); 637 ECORE_X_EVENT_WINDOW_DELETE_REQUEST = ecore_event_type_new();
638 638
639 ECORE_X_EVENT_WINDOW_DELETE_REQUEST = ecore_event_type_new(); 639 ECORE_X_EVENT_DESKTOP_CHANGE = ecore_event_type_new();
640 640 ECORE_X_EVENT_WINDOW_MOVE_RESIZE_REQUEST = ecore_event_type_new();
641 ECORE_X_EVENT_DESKTOP_CHANGE = ecore_event_type_new(); 641 ECORE_X_EVENT_WINDOW_STATE_REQUEST = ecore_event_type_new();
642 ECORE_X_EVENT_WINDOW_MOVE_RESIZE_REQUEST = ecore_event_type_new(); 642 ECORE_X_EVENT_FRAME_EXTENTS_REQUEST = ecore_event_type_new();
643 ECORE_X_EVENT_WINDOW_STATE_REQUEST = ecore_event_type_new(); 643 ECORE_X_EVENT_PING = ecore_event_type_new();
644 ECORE_X_EVENT_FRAME_EXTENTS_REQUEST = ecore_event_type_new(); 644
645 ECORE_X_EVENT_PING = ecore_event_type_new(); 645 ECORE_X_EVENT_STARTUP_SEQUENCE_NEW = ecore_event_type_new();
646 646 ECORE_X_EVENT_STARTUP_SEQUENCE_CHANGE = ecore_event_type_new();
647 ECORE_X_EVENT_STARTUP_SEQUENCE_NEW = ecore_event_type_new(); 647 ECORE_X_EVENT_STARTUP_SEQUENCE_REMOVE = ecore_event_type_new();
648 ECORE_X_EVENT_STARTUP_SEQUENCE_CHANGE = ecore_event_type_new(); 648
649 ECORE_X_EVENT_STARTUP_SEQUENCE_REMOVE = ecore_event_type_new(); 649 ECORE_X_EVENT_XKB_STATE_NOTIFY = ecore_event_type_new();
650 650 ECORE_X_EVENT_XKB_NEWKBD_NOTIFY = ecore_event_type_new();
651 ECORE_X_EVENT_XKB_STATE_NOTIFY = ecore_event_type_new(); 651
652 ECORE_X_EVENT_XKB_NEWKBD_NOTIFY = ecore_event_type_new(); 652 ECORE_X_EVENT_GENERIC = ecore_event_type_new();
653 653
654 ECORE_X_EVENT_GENERIC = ecore_event_type_new(); 654 ECORE_X_RAW_BUTTON_PRESS = ecore_event_type_new();
655 655 ECORE_X_RAW_BUTTON_RELEASE = ecore_event_type_new();
656 ECORE_X_RAW_BUTTON_PRESS = ecore_event_type_new(); 656 ECORE_X_RAW_MOTION = ecore_event_type_new();
657 ECORE_X_RAW_BUTTON_RELEASE = ecore_event_type_new();
658 ECORE_X_RAW_MOTION = ecore_event_type_new();
659 }
660 657
661 _ecore_x_modifiers_get(); 658 _ecore_x_modifiers_get();
662 659
diff --git a/src/lib/ecore_x/ecore_x_dnd.c b/src/lib/ecore_x/ecore_x_dnd.c
index 59607b8..c5d6fd5 100644
--- a/src/lib/ecore_x/ecore_x_dnd.c
+++ b/src/lib/ecore_x/ecore_x_dnd.c
@@ -56,15 +56,12 @@ _ecore_x_dnd_init(void)
56 _target->source = None; 56 _target->source = None;
57 _target->state = ECORE_X_DND_TARGET_IDLE; 57 _target->state = ECORE_X_DND_TARGET_IDLE;
58 58
59 if (ECORE_X_EVENT_XDND_ENTER == 0) 59 ECORE_X_EVENT_XDND_ENTER = ecore_event_type_new();
60 { 60 ECORE_X_EVENT_XDND_POSITION = ecore_event_type_new();
61 ECORE_X_EVENT_XDND_ENTER = ecore_event_type_new(); 61 ECORE_X_EVENT_XDND_STATUS = ecore_event_type_new();
62 ECORE_X_EVENT_XDND_POSITION = ecore_event_type_new(); 62 ECORE_X_EVENT_XDND_LEAVE = ecore_event_type_new();
63 ECORE_X_EVENT_XDND_STATUS = ecore_event_type_new(); 63 ECORE_X_EVENT_XDND_DROP = ecore_event_type_new();
64 ECORE_X_EVENT_XDND_LEAVE = ecore_event_type_new(); 64 ECORE_X_EVENT_XDND_FINISHED = ecore_event_type_new();
65 ECORE_X_EVENT_XDND_DROP = ecore_event_type_new();
66 ECORE_X_EVENT_XDND_FINISHED = ecore_event_type_new();
67 }
68 } 65 }
69 66
70 _ecore_x_dnd_init_count++; 67 _ecore_x_dnd_init_count++;
diff --git a/src/lib/eeze/eeze_sensor.c b/src/lib/eeze/eeze_sensor.c
index 17027a7..9705cfb 100644
--- a/src/lib/eeze/eeze_sensor.c
+++ b/src/lib/eeze/eeze_sensor.c
@@ -385,30 +385,27 @@ eeze_sensor_init(void)
385 if (!g_handle->modules) return EINA_FALSE; 385 if (!g_handle->modules) return EINA_FALSE;
386 386
387 /* Make sure we create new ecore event types before using them */ 387 /* Make sure we create new ecore event types before using them */
388 if (EEZE_SENSOR_EVENT_ACCELEROMETER == 0) 388 EEZE_SENSOR_EVENT_ACCELEROMETER = ecore_event_type_new();
389 { 389 EEZE_SENSOR_EVENT_GRAVITY = ecore_event_type_new();
390 EEZE_SENSOR_EVENT_ACCELEROMETER = ecore_event_type_new(); 390 EEZE_SENSOR_EVENT_LINEAR_ACCELERATION = ecore_event_type_new();
391 EEZE_SENSOR_EVENT_GRAVITY = ecore_event_type_new(); 391 EEZE_SENSOR_EVENT_DEVICE_ORIENTATION = ecore_event_type_new();
392 EEZE_SENSOR_EVENT_LINEAR_ACCELERATION = ecore_event_type_new(); 392 EEZE_SENSOR_EVENT_MAGNETIC = ecore_event_type_new();
393 EEZE_SENSOR_EVENT_DEVICE_ORIENTATION = ecore_event_type_new(); 393 EEZE_SENSOR_EVENT_ORIENTATION = ecore_event_type_new();
394 EEZE_SENSOR_EVENT_MAGNETIC = ecore_event_type_new(); 394 EEZE_SENSOR_EVENT_GYROSCOPE = ecore_event_type_new();
395 EEZE_SENSOR_EVENT_ORIENTATION = ecore_event_type_new(); 395 EEZE_SENSOR_EVENT_LIGHT = ecore_event_type_new();
396 EEZE_SENSOR_EVENT_GYROSCOPE = ecore_event_type_new(); 396 EEZE_SENSOR_EVENT_PROXIMITY = ecore_event_type_new();
397 EEZE_SENSOR_EVENT_LIGHT = ecore_event_type_new(); 397 EEZE_SENSOR_EVENT_SNAP = ecore_event_type_new();
398 EEZE_SENSOR_EVENT_PROXIMITY = ecore_event_type_new(); 398 EEZE_SENSOR_EVENT_SHAKE = ecore_event_type_new();
399 EEZE_SENSOR_EVENT_SNAP = ecore_event_type_new(); 399 EEZE_SENSOR_EVENT_DOUBLETAP = ecore_event_type_new();
400 EEZE_SENSOR_EVENT_SHAKE = ecore_event_type_new(); 400 EEZE_SENSOR_EVENT_PANNING = ecore_event_type_new();
401 EEZE_SENSOR_EVENT_DOUBLETAP = ecore_event_type_new(); 401 EEZE_SENSOR_EVENT_PANNING_BROWSE = ecore_event_type_new();
402 EEZE_SENSOR_EVENT_PANNING = ecore_event_type_new(); 402 EEZE_SENSOR_EVENT_TILT = ecore_event_type_new();
403 EEZE_SENSOR_EVENT_PANNING_BROWSE = ecore_event_type_new(); 403 EEZE_SENSOR_EVENT_FACEDOWN = ecore_event_type_new();
404 EEZE_SENSOR_EVENT_TILT = ecore_event_type_new(); 404 EEZE_SENSOR_EVENT_DIRECT_CALL = ecore_event_type_new();
405 EEZE_SENSOR_EVENT_FACEDOWN = ecore_event_type_new(); 405 EEZE_SENSOR_EVENT_SMART_ALERT = ecore_event_type_new();
406 EEZE_SENSOR_EVENT_DIRECT_CALL = ecore_event_type_new(); 406 EEZE_SENSOR_EVENT_NO_MOVE = ecore_event_type_new();
407 EEZE_SENSOR_EVENT_SMART_ALERT = ecore_event_type_new(); 407 EEZE_SENSOR_EVENT_BAROMETER = ecore_event_type_new();
408 EEZE_SENSOR_EVENT_NO_MOVE = ecore_event_type_new(); 408 EEZE_SENSOR_EVENT_TEMPERATURE = ecore_event_type_new();
409 EEZE_SENSOR_EVENT_BAROMETER = ecore_event_type_new();
410 EEZE_SENSOR_EVENT_TEMPERATURE = ecore_event_type_new();
411 }
412 409
413 /* Core is ready so we can load the modules from disk now */ 410 /* Core is ready so we can load the modules from disk now */
414 eeze_sensor_modules_load(); 411 eeze_sensor_modules_load();
diff --git a/src/lib/efreet/efreet_cache.c b/src/lib/efreet/efreet_cache.c
index e377b0e..0df7a7b 100644
--- a/src/lib/efreet/efreet_cache.c
+++ b/src/lib/efreet/efreet_cache.c
@@ -283,12 +283,9 @@ efreet_cache_init(void)
283 ERR("Failed to create directory '%s'", buf); 283 ERR("Failed to create directory '%s'", buf);
284 } 284 }
285 285
286 if (EFREET_EVENT_ICON_CACHE_UPDATE == 0) 286 EFREET_EVENT_ICON_CACHE_UPDATE = ecore_event_type_new();
287 { 287 EFREET_EVENT_DESKTOP_CACHE_UPDATE = ecore_event_type_new();
288 EFREET_EVENT_ICON_CACHE_UPDATE = ecore_event_type_new(); 288 EFREET_EVENT_DESKTOP_CACHE_BUILD = ecore_event_type_new();
289 EFREET_EVENT_DESKTOP_CACHE_UPDATE = ecore_event_type_new();
290 EFREET_EVENT_DESKTOP_CACHE_BUILD = ecore_event_type_new();
291 }
292 289
293 themes = eina_hash_string_superfast_new(EINA_FREE_CB(efreet_cache_icon_theme_free)); 290 themes = eina_hash_string_superfast_new(EINA_FREE_CB(efreet_cache_icon_theme_free));
294 icons = eina_hash_string_superfast_new(EINA_FREE_CB(efreet_cache_icon_free)); 291 icons = eina_hash_string_superfast_new(EINA_FREE_CB(efreet_cache_icon_free));
diff --git a/src/lib/eio/eio_monitor.c b/src/lib/eio/eio_monitor.c
index ccc13c4..66519ff 100644
--- a/src/lib/eio/eio_monitor.c
+++ b/src/lib/eio/eio_monitor.c
@@ -140,20 +140,17 @@ _eio_monitor_error_cb(void *data, Eio_File *handler EINA_UNUSED, int error)
140void 140void
141eio_monitor_init(void) 141eio_monitor_init(void)
142{ 142{
143 if (EIO_MONITOR_ERROR == 0) 143 EIO_MONITOR_ERROR = ecore_event_type_new();
144 { 144 EIO_MONITOR_SELF_RENAME = ecore_event_type_new();
145 EIO_MONITOR_ERROR = ecore_event_type_new(); 145 EIO_MONITOR_SELF_DELETED = ecore_event_type_new();
146 EIO_MONITOR_SELF_RENAME = ecore_event_type_new(); 146 EIO_MONITOR_FILE_CREATED = ecore_event_type_new();
147 EIO_MONITOR_SELF_DELETED = ecore_event_type_new(); 147 EIO_MONITOR_FILE_DELETED = ecore_event_type_new();
148 EIO_MONITOR_FILE_CREATED = ecore_event_type_new(); 148 EIO_MONITOR_FILE_MODIFIED = ecore_event_type_new();
149 EIO_MONITOR_FILE_DELETED = ecore_event_type_new(); 149 EIO_MONITOR_FILE_CLOSED = ecore_event_type_new();
150 EIO_MONITOR_FILE_MODIFIED = ecore_event_type_new(); 150 EIO_MONITOR_DIRECTORY_CREATED = ecore_event_type_new();
151 EIO_MONITOR_FILE_CLOSED = ecore_event_type_new(); 151 EIO_MONITOR_DIRECTORY_DELETED = ecore_event_type_new();
152 EIO_MONITOR_DIRECTORY_CREATED = ecore_event_type_new(); 152 EIO_MONITOR_DIRECTORY_MODIFIED = ecore_event_type_new();
153 EIO_MONITOR_DIRECTORY_DELETED = ecore_event_type_new(); 153 EIO_MONITOR_DIRECTORY_CLOSED = ecore_event_type_new();
154 EIO_MONITOR_DIRECTORY_MODIFIED = ecore_event_type_new();
155 EIO_MONITOR_DIRECTORY_CLOSED = ecore_event_type_new();
156 }
157 154
158 eio_monitor_backend_init(); 155 eio_monitor_backend_init();
159 eio_monitor_fallback_init(); 156 eio_monitor_fallback_init();
diff --git a/src/lib/elementary/elm_config.c b/src/lib/elementary/elm_config.c
index 12837ee..5b5481f 100644
--- a/src/lib/elementary/elm_config.c
+++ b/src/lib/elementary/elm_config.c
@@ -4115,8 +4115,7 @@ _translation_init(void)
4115void 4115void
4116_elm_config_init(void) 4116_elm_config_init(void)
4117{ 4117{
4118 if (!ELM_EVENT_CONFIG_ALL_CHANGED) 4118 ELM_EVENT_CONFIG_ALL_CHANGED = ecore_event_type_new();
4119 ELM_EVENT_CONFIG_ALL_CHANGED = ecore_event_type_new();
4120 _desc_init(); 4119 _desc_init();
4121 _elm_config_profile_derived_init(); 4120 _elm_config_profile_derived_init();
4122 _profile_fetch_from_conf(); 4121 _profile_fetch_from_conf();
diff --git a/src/lib/elementary/elm_main.c b/src/lib/elementary/elm_main.c
index cf4282c..f7224c5 100644
--- a/src/lib/elementary/elm_main.c
+++ b/src/lib/elementary/elm_main.c
@@ -755,12 +755,9 @@ elm_quicklaunch_init(int argc EINA_UNUSED,
755#endif 755#endif
756 756
757 memset(_elm_policies, 0, sizeof(_elm_policies)); 757 memset(_elm_policies, 0, sizeof(_elm_policies));
758 if (!ELM_EVENT_POLICY_CHANGED) 758 ELM_EVENT_POLICY_CHANGED = ecore_event_type_new();
759 { 759 ELM_EVENT_PROCESS_BACKGROUND = ecore_event_type_new();
760 ELM_EVENT_POLICY_CHANGED = ecore_event_type_new(); 760 ELM_EVENT_PROCESS_FOREGROUND = ecore_event_type_new();
761 ELM_EVENT_PROCESS_BACKGROUND = ecore_event_type_new();
762 ELM_EVENT_PROCESS_FOREGROUND = ecore_event_type_new();
763 }
764 761
765 if (!ecore_file_init()) 762 if (!ecore_file_init())
766 ERR("Elementary cannot init ecore_file"); 763 ERR("Elementary cannot init ecore_file");
diff --git a/src/lib/elementary/elm_systray.c b/src/lib/elementary/elm_systray.c
index fadd7a2..bcc8c0a 100644
--- a/src/lib/elementary/elm_systray.c
+++ b/src/lib/elementary/elm_systray.c
@@ -459,8 +459,7 @@ elm_need_systray(void)
459 459
460 if (!elm_need_eldbus()) return EINA_FALSE; 460 if (!elm_need_eldbus()) return EINA_FALSE;
461 461
462 if (!ELM_EVENT_SYSTRAY_READY) 462 ELM_EVENT_SYSTRAY_READY = ecore_event_type_new();
463 ELM_EVENT_SYSTRAY_READY = ecore_event_type_new();
464 463
465 if (!_elm_systray_watcher_init()) return EINA_FALSE; 464 if (!_elm_systray_watcher_init()) return EINA_FALSE;
466 465
diff --git a/src/lib/elementary/elm_thumb.c b/src/lib/elementary/elm_thumb.c
index 8625689..9819cc3 100644
--- a/src/lib/elementary/elm_thumb.c
+++ b/src/lib/elementary/elm_thumb.c
@@ -520,8 +520,7 @@ elm_need_ethumb(void)
520 if (_elm_need_ethumb) return EINA_TRUE; 520 if (_elm_need_ethumb) return EINA_TRUE;
521 _elm_need_ethumb = EINA_TRUE; 521 _elm_need_ethumb = EINA_TRUE;
522 522
523 if (ELM_ECORE_EVENT_ETHUMB_CONNECT == 0) 523 ELM_ECORE_EVENT_ETHUMB_CONNECT = ecore_event_type_new();
524 ELM_ECORE_EVENT_ETHUMB_CONNECT = ecore_event_type_new();
525 ethumb_client_init(); 524 ethumb_client_init();
526 525
527 return EINA_TRUE; 526 return EINA_TRUE;
diff --git a/src/lib/elocation/elocation.c b/src/lib/elocation/elocation.c
index 0edf925..cb0431c 100644
--- a/src/lib/elocation/elocation.c
+++ b/src/lib/elocation/elocation.c
@@ -1253,21 +1253,18 @@ elocation_init(void)
1253 } 1253 }
1254 1254
1255 /* Create all ecore event types we send out to interested applications */ 1255 /* Create all ecore event types we send out to interested applications */
1256 if (ELOCATION_EVENT_IN == 0) 1256 ELOCATION_EVENT_IN = ecore_event_type_new();
1257 { 1257 ELOCATION_EVENT_OUT = ecore_event_type_new();
1258 ELOCATION_EVENT_IN = ecore_event_type_new(); 1258 ELOCATION_EVENT_STATUS = ecore_event_type_new();
1259 ELOCATION_EVENT_OUT = ecore_event_type_new(); 1259 ELOCATION_EVENT_POSITION = ecore_event_type_new();
1260 ELOCATION_EVENT_STATUS = ecore_event_type_new(); 1260 ELOCATION_EVENT_ADDRESS = ecore_event_type_new();
1261 ELOCATION_EVENT_POSITION = ecore_event_type_new(); 1261 ELOCATION_EVENT_VELOCITY = ecore_event_type_new();
1262 ELOCATION_EVENT_ADDRESS = ecore_event_type_new(); 1262 ELOCATION_EVENT_GEOCODE = ecore_event_type_new();
1263 ELOCATION_EVENT_VELOCITY = ecore_event_type_new(); 1263 ELOCATION_EVENT_REVERSEGEOCODE = ecore_event_type_new();
1264 ELOCATION_EVENT_GEOCODE = ecore_event_type_new(); 1264 ELOCATION_EVENT_NMEA = ecore_event_type_new();
1265 ELOCATION_EVENT_REVERSEGEOCODE = ecore_event_type_new(); 1265 ELOCATION_EVENT_SATELLITE = ecore_event_type_new();
1266 ELOCATION_EVENT_NMEA = ecore_event_type_new(); 1266 ELOCATION_EVENT_POI = ecore_event_type_new();
1267 ELOCATION_EVENT_SATELLITE = ecore_event_type_new(); 1267 ELOCATION_EVENT_META_READY = ecore_event_type_new();
1268 ELOCATION_EVENT_POI = ecore_event_type_new();
1269 ELOCATION_EVENT_META_READY = ecore_event_type_new();
1270 }
1271 1268
1272 obj_master= eldbus_object_get(conn, GEOCLUE_DBUS_NAME, GEOCLUE_OBJECT_PATH); 1269 obj_master= eldbus_object_get(conn, GEOCLUE_DBUS_NAME, GEOCLUE_OBJECT_PATH);
1273 if (!obj_master) 1270 if (!obj_master)
diff --git a/src/lib/elput/elput.c b/src/lib/elput/elput.c
index f3cda41..503e5b5 100644
--- a/src/lib/elput/elput.c
+++ b/src/lib/elput/elput.c
@@ -33,18 +33,15 @@ elput_init(void)
33 goto log_err; 33 goto log_err;
34 } 34 }
35 35
36 if (ELPUT_EVENT_SEAT_CAPS == 0) 36 ELPUT_EVENT_SEAT_CAPS = ecore_event_type_new();
37 { 37 ELPUT_EVENT_SEAT_FRAME = ecore_event_type_new();
38 ELPUT_EVENT_SEAT_CAPS = ecore_event_type_new(); 38 ELPUT_EVENT_KEYMAP_SEND = ecore_event_type_new();
39 ELPUT_EVENT_SEAT_FRAME = ecore_event_type_new(); 39 ELPUT_EVENT_MODIFIERS_SEND = ecore_event_type_new();
40 ELPUT_EVENT_KEYMAP_SEND = ecore_event_type_new(); 40 ELPUT_EVENT_DEVICE_CHANGE = ecore_event_type_new();
41 ELPUT_EVENT_MODIFIERS_SEND = ecore_event_type_new(); 41 ELPUT_EVENT_SESSION_ACTIVE = ecore_event_type_new();
42 ELPUT_EVENT_DEVICE_CHANGE = ecore_event_type_new(); 42 ELPUT_EVENT_POINTER_MOTION = ecore_event_type_new();
43 ELPUT_EVENT_SESSION_ACTIVE = ecore_event_type_new(); 43 ELPUT_EVENT_SWITCH = ecore_event_type_new();
44 ELPUT_EVENT_POINTER_MOTION = ecore_event_type_new(); 44 elput_event_session_ready = ecore_event_type_new();
45 ELPUT_EVENT_SWITCH = ecore_event_type_new();
46 elput_event_session_ready = ecore_event_type_new();
47 }
48 45
49 return _elput_init_count; 46 return _elput_init_count;
50 47
diff --git a/src/lib/emotion/emotion_webcam.c b/src/lib/emotion/emotion_webcam.c
index 7893e19..1e1db06 100644
--- a/src/lib/emotion/emotion_webcam.c
+++ b/src/lib/emotion/emotion_webcam.c
@@ -273,12 +273,9 @@ _emotion_enumerate_all_webcams(void)
273 273
274Eina_Bool emotion_webcam_init(void) 274Eina_Bool emotion_webcam_init(void)
275{ 275{
276 if (EMOTION_WEBCAM_UPDATE == 0) 276 EMOTION_WEBCAM_UPDATE = ecore_event_type_new();
277 { 277 EMOTION_WEBCAM_ADD = ecore_event_type_new();
278 EMOTION_WEBCAM_UPDATE = ecore_event_type_new(); 278 EMOTION_WEBCAM_DEL = ecore_event_type_new();
279 EMOTION_WEBCAM_ADD = ecore_event_type_new();
280 EMOTION_WEBCAM_DEL = ecore_event_type_new();
281 }
282 279
283 eet_init(); 280 eet_init();
284 _emotion_webcams_edds_new(); 281 _emotion_webcams_edds_new();