summaryrefslogtreecommitdiff
path: root/src/lib/emotion/emotion_webcam.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/emotion/emotion_webcam.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/lib/emotion/emotion_webcam.c b/src/lib/emotion/emotion_webcam.c
index 7893e197e3..1e1db06d97 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();