elm_slider_step_set was only introduced in elm 1.8

This commit is contained in:
Boris Faure 2014-08-15 11:03:51 +02:00
parent 9a16eb57a1
commit eb347e9585
1 changed files with 2 additions and 0 deletions

View File

@ -539,7 +539,9 @@ options_behavior(Evas_Object *opbox, Evas_Object *term)
evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(o, EVAS_HINT_FILL, 0.0);
elm_slider_span_size_set(o, 40);
#if (EINA_VERSION_MAJOR > 1) || (EINA_VERSION_MINOR >= 8)
elm_slider_step_set(o, 1);
#endif
elm_slider_units_format_function_set(o,
sback_units_format,
(void(*)(char*))eina_stringshare_del);