tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=f1b1c5354b7d36edd5b8a6cfca0c082cab01b965

commit f1b1c5354b7d36edd5b8a6cfca0c082cab01b965
Author: Tom Hacohen <t...@stosb.com>
Date:   Thu Mar 3 10:00:26 2016 +0000

    Manually fix extra eo_do calls that were added after I migrated
---
 src/lib/evas/canvas/evas_filter_mixin.c | 2 +-
 src/lib/evas/canvas/evas_object_text.c  | 4 ++--
 src/tests/evas/evas_test_filters.c      | 8 ++++----
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/lib/evas/canvas/evas_filter_mixin.c 
b/src/lib/evas/canvas/evas_filter_mixin.c
index 0933665..4d4b7ca 100644
--- a/src/lib/evas/canvas/evas_filter_mixin.c
+++ b/src/lib/evas/canvas/evas_filter_mixin.c
@@ -702,7 +702,7 @@ _evas_filter_efl_gfx_filter_filter_data_set(Eo *eo_obj, 
Evas_Filter_Data *pd,
    FCOW_END(fcow, pd);
 
    // update object
-   eo_do(eo_obj, evas_filter_dirty());
+   evas_filter_dirty(eo_obj);
    evas_object_change(eo_obj, obj);
    evas_object_clip_dirty(eo_obj, obj);
    evas_object_coords_recalc(eo_obj, obj);
diff --git a/src/lib/evas/canvas/evas_object_text.c 
b/src/lib/evas/canvas/evas_object_text.c
index 7efb37f..a492ebd 100644
--- a/src/lib/evas/canvas/evas_object_text.c
+++ b/src/lib/evas/canvas/evas_object_text.c
@@ -2340,13 +2340,13 @@ _evas_text_efl_gfx_filter_filter_program_set(Eo *obj, 
Evas_Text_Data *pd EINA_UN
 EAPI void
 evas_object_text_filter_program_set(Evas_Object *obj, const char *code, const 
char *name)
 {
-   eo_do(obj, efl_gfx_filter_program_set(code, name));
+   efl_gfx_filter_program_set(obj, code, name);
 }
 
 EAPI void
 evas_object_text_filter_source_set(Evas_Object *obj, const char *name, 
Evas_Object *source)
 {
-   eo_do(obj, efl_gfx_filter_source_set(name, source));
+   efl_gfx_filter_source_set(obj, name, source);
 }
 
 EOLIAN static void
diff --git a/src/tests/evas/evas_test_filters.c 
b/src/tests/evas/evas_test_filters.c
index 5841fa2..65028a7 100644
--- a/src/tests/evas/evas_test_filters.c
+++ b/src/tests/evas/evas_test_filters.c
@@ -438,8 +438,8 @@ START_TEST(evas_filter_state_test)
    ecore_evas_transparent_set(ee, EINA_TRUE);
 
    evas_object_color_set(to, 255, 0, 0, 255);
-   eo_do(to, efl_gfx_filter_program_set(code, "merf"));
-   eo_do(to, efl_gfx_filter_state_set("state1", 0.0, "state2", 1.0, 0.5));
+   efl_gfx_filter_program_set(to, code, "merf");
+   efl_gfx_filter_state_set(to, "state1", 0.0, "state2", 1.0, 0.5);
 
    /* check pixels */
    ecore_evas_manual_render(ee);
@@ -447,12 +447,12 @@ START_TEST(evas_filter_state_test)
    fail_if(!pixels || (*pixels != 0xFFFF0000),
            "state render test failed: %p (%#x)", pixels, pixels ? *pixels : 0);
 
-   eo_do(to, efl_gfx_filter_state_get(&s1, &v1, &s2, &v2, &p));
+   efl_gfx_filter_state_get(to, &s1, &v1, &s2, &v2, &p);
    fail_unless(strequal(s1, "state1") && strequal(s2, "state2") && (v1 == 0.0) 
&& (v2 == 1.0) && (p == 0.5),
                "got: %s %f %s %f %f", s1, v1, s2, v2, p);
 
    /* data test */
-   eo_do(to, efl_gfx_filter_data_set("data", "{r=0, g=255, b=0, a=255}", 1));
+   efl_gfx_filter_data_set(to, "data", "{r=0, g=255, b=0, a=255}", 1);
    ecore_evas_manual_render(ee);
    pixels = ecore_evas_buffer_pixels_get(ee);
    fail_if(!pixels || (*pixels != 0xFF00FF00),

-- 


Reply via email to