examples: Replace setenv() with elm_config_accel_preference_set().

Replace environment value set with elm_config_accel_preference_set.
This commit is contained in:
Jaehyun Cho 2015-06-02 19:25:39 +09:00
parent 64e799d1a7
commit e9eeadd93c
1 changed files with 1 additions and 1 deletions

View File

@ -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");