summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2015-06-02 19:25:39 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2015-06-02 19:25:39 +0900
commit06e10f97b19b5a316697463e2f78d53a3516d70f (patch)
treeb37b9cf68fb80aa41a31893affef5d861ad56345
parente0e29b902b1d199e3aae31b0f284cbd383471542 (diff)
examples: Replace setenv() with elm_config_accel_preference_set().
Replace environment value set with elm_config_accel_preference_set.
-rw-r--r--src/examples/sphere_hunter/evas_3d_sphere_hunter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/sphere_hunter/evas_3d_sphere_hunter.c b/src/examples/sphere_hunter/evas_3d_sphere_hunter.c
index 5036e29e8..c55352094 100644
--- a/src/examples/sphere_hunter/evas_3d_sphere_hunter.c
+++ b/src/examples/sphere_hunter/evas_3d_sphere_hunter.c
@@ -854,7 +854,7 @@ elm_main(int argc, char **argv)
854 Scene_Data data; 854 Scene_Data data;
855 Eina_Bool r = EINA_TRUE; 855 Eina_Bool r = EINA_TRUE;
856 856
857 setenv("ELM_ACCEL", "3d", 1); 857 elm_config_accel_preference_set("3d");
858 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED); 858 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
859 859
860 win = elm_win_util_standard_add("__WIN__", "Sphere Hunter"); 860 win = elm_win_util_standard_add("__WIN__", "Sphere Hunter");