cedric pushed a commit to branch master.

http://git.enlightenment.org/tools/expedite.git/commit/?id=f9834c142cdb8c7b829d75751706a732c16bdbaa

commit f9834c142cdb8c7b829d75751706a732c16bdbaa
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Thu Mar 17 16:54:05 2016 -0700

    migrate to new snapshot object.
---
 src/bin/snapshot_widgets_file_icons.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/bin/snapshot_widgets_file_icons.c 
b/src/bin/snapshot_widgets_file_icons.c
index 328073a..dbdab77 100644
--- a/src/bin/snapshot_widgets_file_icons.c
+++ b/src/bin/snapshot_widgets_file_icons.c
@@ -85,13 +85,12 @@ static void _setup(void)
       "blur { 5, dst = a, color = '#ff0' }"
      ;
 
-   o = eo_add(EVAS_IMAGE_CLASS, evas);
+   o = eo_add(EFL_CANVAS_SNAPSHOT_CLASS, evas);
    o_snap = o;
    efl_gfx_visible_set(o, EINA_TRUE);
    efl_gfx_position_set(o, 50, 50);
    efl_gfx_size_set(o, 200, 200);
    efl_gfx_fill_set(o, 0, 0, 200, 200);
-   evas_obj_image_snapshot_set(o, EINA_TRUE);
    efl_gfx_filter_program_set(o, filter, "test");
 
    done = 0;

-- 


Reply via email to