examples: Replace setenv() with elm_config_accel_preference_set().
Replace environment value set with elm_config_accel_preference_set.
This commit is contained in:
parent
64e799d1a7
commit
e9eeadd93c
|
@ -854,7 +854,7 @@ elm_main(int argc, char **argv)
|
|||
Scene_Data data;
|
||||
Eina_Bool r = EINA_TRUE;
|
||||
|
||||
setenv("ELM_ACCEL", "3d", 1);
|
||||
elm_config_accel_preference_set("3d");
|
||||
elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
|
||||
|
||||
win = elm_win_util_standard_add("__WIN__", "Sphere Hunter");
|
||||
|
|
Loading…
Reference in New Issue