aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/elementary/test_evas_snapshot.c
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2018-03-26 15:21:21 +0200
committerCedric Bail <cedric@osg.samsung.com>2018-04-24 09:03:23 -0700
commit65ee277a6674dcad9c938b8b0ac9b56520105fc4 (patch)
tree1ed89932d2279c2f237bef50f733adef0fc51a0b /src/bin/elementary/test_evas_snapshot.c
parentelm test: resolve possible integer overflow (diff)
downloadefl-65ee277a6674dcad9c938b8b0ac9b56520105fc4.tar.gz
Efl.Canvas.Scene (from Efl.Canvas)
Ref https://phab.enlightenment.org/T6847 Reviewed-by: Cedric Bail <cedric@osg.samsung.com>
Diffstat (limited to 'src/bin/elementary/test_evas_snapshot.c')
-rw-r--r--src/bin/elementary/test_evas_snapshot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/elementary/test_evas_snapshot.c b/src/bin/elementary/test_evas_snapshot.c
index 9eb5dca932..dd9e15388f 100644
--- a/src/bin/elementary/test_evas_snapshot.c
+++ b/src/bin/elementary/test_evas_snapshot.c
@@ -55,7 +55,7 @@ _render_post(void *data, const Efl_Event *ev)
{
Eo *snap = data;
- efl_event_callback_del(ev->object, EFL_CANVAS_EVENT_RENDER_POST, _render_post, data);
+ efl_event_callback_del(ev->object, EFL_CANVAS_SCENE_EVENT_RENDER_POST, _render_post, data);
efl_file_save(snap, eina_slstr_printf("%s/snap-efl.png", eina_environment_tmp_get()), NULL, NULL);
}
@@ -67,7 +67,7 @@ _save_image(void *data, const Efl_Event *ev EINA_UNUSED)
// Save is available only during render_post
snap = efl_key_wref_get(win, "snap");
- efl_event_callback_add(win, EFL_CANVAS_EVENT_RENDER_POST, _render_post, snap);
+ efl_event_callback_add(win, EFL_CANVAS_SCENE_EVENT_RENDER_POST, _render_post, snap);
// Force a render in order to ensure post_render is called. EO API provides
// no way to do manual render, so we add a damage to the snapshot object.