Quicklaunch: don't increment init count twice

Ooops, don't increment elm_init count from quicklaunch init
when running normally.
This commit is contained in:
Jean-Philippe Andre 2013-11-05 18:17:58 +09:00
parent a8cef7a216
commit 1f5cd17110
1 changed files with 2 additions and 1 deletions

View File

@ -643,7 +643,8 @@ elm_quicklaunch_init(int argc,
EINA_LOG_STATE_STOP,
EINA_LOG_STATE_INIT);
_elm_init_count++;
if (elm_quicklaunch_mode_get())
_elm_init_count++;
return _elm_ql_init_count;
}