elm/quicklaunch: Increment _elm_init_count in ql_init

Apps call elm_shutdown before exiting. But when using
Quiklaunch, elm_init has never been called, so the
init count is still 0.

This will be especially useful since programs compiled
with -fPIC and linked with -pie can be loaded by
Quicklaunch.
This commit is contained in:
Jean-Philippe Andre 2013-11-04 12:21:49 +09:00
parent 5cef1e1ea0
commit 9bb1ef2708
1 changed files with 1 additions and 0 deletions

View File

@ -664,6 +664,7 @@ elm_quicklaunch_init(int argc,
EINA_LOG_STATE_STOP,
EINA_LOG_STATE_INIT);
_elm_init_count++;
return _elm_ql_init_count;
}