summaryrefslogtreecommitdiff
path: root/legacy/eet
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/eet
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/eet')
-rw-r--r--legacy/eet/src/lib/eet_lib.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/legacy/eet/src/lib/eet_lib.c b/legacy/eet/src/lib/eet_lib.c
index a350d11f3c..bef99b30c0 100644
--- a/legacy/eet/src/lib/eet_lib.c
+++ b/legacy/eet/src/lib/eet_lib.c
@@ -633,6 +633,11 @@ shutdown_eina:
633EAPI int 633EAPI int
634eet_shutdown(void) 634eet_shutdown(void)
635{ 635{
636 if (eet_init_count <= 0)
637 {
638 ERR("Init count not greater than 0 in shutdown.");
639 return 0;
640 }
636 if (--eet_init_count != 0) 641 if (--eet_init_count != 0)
637 return eet_init_count; 642 return eet_init_count;
638 643