discomfitor pushed a commit to branch master.

commit 5ed22b70e77a63e42c76ecd8e2f0190371f46050
Author: discomfitor <[email protected]>
Date:   Sat Aug 31 15:09:53 2013 +0100

    if out an evas 1.8 function
---
 src/bin/e_thumb_main.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/bin/e_thumb_main.c b/src/bin/e_thumb_main.c
index 7f71559..148e294 100644
--- a/src/bin/e_thumb_main.c
+++ b/src/bin/e_thumb_main.c
@@ -393,7 +393,9 @@ _e_thumb_generate(E_Thumb *eth)
              im = evas_object_text_add(evas);
              evas_object_text_font_set(im, eth->file, hh / 4);
              evas_object_color_set(im, 192, 192, 192, 255);
+#if ((EVAS_VERSION_MAJOR >= 1) && (EVAS_VERSION_MINOR >= 8))
              evas_object_text_ellipsis_set(im, 0.0);
+#endif
              evas_object_text_text_set(im, "ABCabc");
              evas_object_geometry_get(im, NULL, NULL, &tw, &th);
              if (tw > ww) tw = ww;
@@ -406,7 +408,9 @@ _e_thumb_generate(E_Thumb *eth)
              im2 = evas_object_text_add(evas);
              evas_object_text_font_set(im2, eth->file, hh / 4);
              evas_object_color_set(im2, 255, 255, 255, 255);
+#if ((EVAS_VERSION_MAJOR >= 1) && (EVAS_VERSION_MINOR >= 8))
              evas_object_text_ellipsis_set(im2, 0.0);
+#endif
              evas_object_text_text_set(im2, "123!@?");
              evas_object_geometry_get(im2, NULL, NULL, &tw, &th);
              if (tw > ww) tw = ww;

-- 

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk

Reply via email to