summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2013-11-05 18:17:58 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2013-11-14 10:39:16 +0900
commitc82f926a0d87adb4db05847f1423974b91ae1c5a (patch)
tree25ff210a2ef1c64350fdce20cc5948dab442fda3 /src
parent483255816b185ad389e5add8b33d3fdaf0eaf655 (diff)
Quicklaunch: don't increment init count twice
Ooops, don't increment elm_init count from quicklaunch init when running normally.
Diffstat (limited to 'src')
-rw-r--r--src/lib/elm_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/elm_main.c b/src/lib/elm_main.c
index 061949326..afcfc1e88 100644
--- a/src/lib/elm_main.c
+++ b/src/lib/elm_main.c
@@ -643,7 +643,8 @@ elm_quicklaunch_init(int argc,
643 EINA_LOG_STATE_STOP, 643 EINA_LOG_STATE_STOP,
644 EINA_LOG_STATE_INIT); 644 EINA_LOG_STATE_INIT);
645 645
646 _elm_init_count++; 646 if (elm_quicklaunch_mode_get())
647 _elm_init_count++;
647 return _elm_ql_init_count; 648 return _elm_ql_init_count;
648} 649}
649 650