aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/options_font.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2014-09-23 21:54:41 +0200
committerBoris Faure <billiob@gmail.com>2014-09-23 21:54:41 +0200
commit95383808612fd21be6deffddff552182ab447e57 (patch)
treebdb606dac896a551f6b4e6098884db0cb5290365 /src/bin/options_font.c
parentoptions: chagne step of font size slider from 2 to 1 (diff)
downloadterminology-95383808612fd21be6deffddff552182ab447e57.tar.gz
make terminology compile with efl 1.7
Diffstat (limited to 'src/bin/options_font.c')
-rw-r--r--src/bin/options_font.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/options_font.c b/src/bin/options_font.c
index f30cae8..4580d61 100644
--- a/src/bin/options_font.c
+++ b/src/bin/options_font.c
@@ -379,7 +379,9 @@ options_font(Evas_Object *opbox, Evas_Object *term)
elm_slider_unit_format_set(o, "%1.0f");
elm_slider_indicator_format_set(o, "%1.0f");
elm_slider_min_max_set(o, FONT_MIN, FONT_MAX);
+#if (ECORE_VERSION_MAJOR > 1) || (ECORE_VERSION_MINOR >= 8)
elm_slider_step_set(o, FONT_STEP);
+#endif
elm_slider_value_set(o, config->font.size);
elm_box_pack_end(bx, o);
evas_object_show(o);