use accel preference if elm 1.10

This commit is contained in:
Carsten Haitzler 2014-03-09 14:30:51 +09:00
parent 127ccd79fb
commit b6c362cf2e
1 changed files with 5 additions and 1 deletions

View File

@ -38,7 +38,11 @@ elm_main(int argc, char **argv)
elm_app_compile_bin_dir_set(PACKAGE_BIN_DIR);
elm_app_compile_data_dir_set(PACKAGE_DATA_DIR);
elm_app_info_set(elm_main, "rage", "themes/default.edj");
#if (ELM_VERSION_MAJOR > 1) || (ELM_VERSION_MINOR >= 10)
elm_config_accel_preference_set("accel");
#endif
snprintf(buf, sizeof(buf), "%s/themes/default.edj", elm_app_data_dir_get());
elm_theme_overlay_add(NULL, buf);