aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/elementary/test_photocam.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-02-21 13:01:56 -0500
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-02-22 10:09:46 +0100
commita08570fdae9f178316e6bbbb291af4adaeb59d3a (patch)
tree1daa02f077957ab0b15eff6e970e59c795fa0f87 /src/bin/elementary/test_photocam.c
parentefl_io_model: fix not to cause memory overflow by strcpy (diff)
downloadefl-a08570fdae9f178316e6bbbb291af4adaeb59d3a.tar.gz
api: rename efl.gfx.entity geometry events and add geometry data to those events
the convention for event naming is to use $property,changed where possible and to always emit related data with the event to reduce function calls ref https://phab.enlightenment.org/T7558 Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D7987
Diffstat (limited to 'src/bin/elementary/test_photocam.c')
-rw-r--r--src/bin/elementary/test_photocam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/elementary/test_photocam.c b/src/bin/elementary/test_photocam.c
index 79f6799020..c1e055e997 100644
--- a/src/bin/elementary/test_photocam.c
+++ b/src/bin/elementary/test_photocam.c
@@ -842,8 +842,8 @@ test_image_zoomable_animated(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSE
);
// add move/resize callbacks to resize rect manually
- efl_event_callback_add(zoomable, EFL_GFX_ENTITY_EVENT_RESIZE, _zoomable_move_resize_cb, rect);
- efl_event_callback_add(zoomable, EFL_GFX_ENTITY_EVENT_MOVE, _zoomable_move_resize_cb, rect);
+ efl_event_callback_add(zoomable, EFL_GFX_ENTITY_EVENT_SIZE_CHANGED, _zoomable_move_resize_cb, rect);
+ efl_event_callback_add(zoomable, EFL_GFX_ENTITY_EVENT_POSITION_CHANGED, _zoomable_move_resize_cb, rect);
efl_gfx_entity_size_set(win, EINA_SIZE2D(300, 320));
}