projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c569c9a
)
This is a small change, so I won't changelog it (or backport), but
author
Carsten Haitzler
<raster@rasterman.com>
Wed, 30 May 2012 10:08:41 +0000
(10:08 +0000)
committer
Carsten Haitzler
<raster@rasterman.com>
Wed, 30 May 2012 10:08:41 +0000
(10:08 +0000)
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
src/lib/elm_main.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_main.c
b/src/lib/elm_main.c
index
1c273c1
..
5a459b6
100644
(file)
--- a/
src/lib/elm_main.c
+++ b/
src/lib/elm_main.c
@@
-185,6
+185,11
@@
elm_init(int argc,
EAPI int
elm_shutdown(void)
{
+ if (_elm_init_count <= 0)
+ {
+ ERR("Init count not greater than 0 in shutdown.");
+ return 0;
+ }
_elm_init_count--;
if (_elm_init_count > 0) return _elm_init_count;
_elm_win_shutdown();