summaryrefslogtreecommitdiff
path: root/legacy/emotion
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-05-30 10:08:41 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-05-30 10:08:41 +0000
commit318bd30043f1d317ade4d7d3a3213c793e5f7cc4 (patch)
tree04c31f444de220769776b00555575ff79cbdcaa4 /legacy/emotion
parentb5e054507a19b2d731511fcef6414ab44b06d943 (diff)
This is a small change, so I won't changelog it (or backport), but
make _shutdown() funcs across efl complain and be unhappy if you shutdown to < 0 shutdowns and not pull init count below 0. SVN revision: 71548
Diffstat (limited to 'legacy/emotion')
-rw-r--r--legacy/emotion/src/lib/emotion_main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/legacy/emotion/src/lib/emotion_main.c b/legacy/emotion/src/lib/emotion_main.c
index a5e9694b80..74c6eebbd4 100644
--- a/legacy/emotion/src/lib/emotion_main.c
+++ b/legacy/emotion/src/lib/emotion_main.c
@@ -383,6 +383,11 @@ emotion_shutdown(void)
383{ 383{
384 Emotion_Webcam *ew; 384 Emotion_Webcam *ew;
385 385
386 if (_emotion_webcams_count <= 0)
387 {
388 EINA_LOG_ERR("Init count not greater than 0 in shutdown.");
389 return EINA_FALSE;
390 }
386 if (--_emotion_webcams_count) return EINA_TRUE; 391 if (--_emotion_webcams_count) return EINA_TRUE;
387 392
388 EINA_LIST_FREE(_emotion_webcams->webcams, ew) 393 EINA_LIST_FREE(_emotion_webcams->webcams, ew)