elementary: the config subsystem expect a stringshare.

This commit is contained in:
Cedric Bail 2018-05-17 14:07:46 -07:00 committed by Cedric BAIL
parent 7e4b66a58d
commit 13ae5b1f0c
1 changed files with 2 additions and 2 deletions

View File

@ -393,9 +393,9 @@ elm_init(int argc, char **argv)
if (_elm_config->atspi_mode != ELM_ATSPI_MODE_OFF)
_elm_atspi_bridge_init();
if (!_elm_config->web_backend)
_elm_config->web_backend = "none";
_elm_config->web_backend = eina_stringshare_add("none");
if (!_elm_web_init(_elm_config->web_backend))
_elm_config->web_backend = "none";
_elm_config->web_backend = eina_stringshare_add("none");
_elm_code_parse_setup();
// For backward compability, EFL startup time and ELM startup time are made