summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_main.c')
-rw-r--r--src/lib/elementary/elm_main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_main.c b/src/lib/elementary/elm_main.c
index cb96aa5b50..3b089583ee 100644
--- a/src/lib/elementary/elm_main.c
+++ b/src/lib/elementary/elm_main.c
@@ -424,6 +424,14 @@ elm_init(int argc, char **argv)
424 _elm_config->web_backend = "none"; 424 _elm_config->web_backend = "none";
425 _elm_code_parse_setup(); 425 _elm_code_parse_setup();
426 426
427 // For backward compability, EFL startup time and ELM startup time are made
428 // identical. It is fine to do it here as we are finishing initialisation
429 // and the startup time should have been accounted earlier.
430 if (_elm_startup_time >= 0)
431 if (_efl_startup_time <= 0)
432 _efl_startup_time = _elm_startup_time;
433 _elm_startup_time = _efl_startup_time;
434
427 return _elm_init_count; 435 return _elm_init_count;
428} 436}
429 437