diff options
author | Mike Blumenkrantz <zmike@samsung.com> | 2019-09-16 10:58:24 +0200 |
---|---|---|
committer | Xavi Artigas <xavierartigas@yahoo.es> | 2019-09-16 10:58:24 +0200 |
commit | 777a2a89e1d44b15b2e83f57ef9f6d933affb3df (patch) | |
tree | 7dd57f1af789747390242a2b30a4e371ade0e66b | |
parent | 16a93a537459267cd2fe90fd664f32a9af9e6366 (diff) | |
download | efl-777a2a89e1d44b15b2e83f57ef9f6d933affb3df.tar.gz |
efl/image: image,resize -> image,resized
Summary:
events should always be past tense verbs
ref T7875
Depends on D9929
Reviewers: segfaultxavi
Subscribers: kimcinoo, cedric, #reviewers, #committers
Tags: #efl_api
Maniphest Tasks: T7875
Differential Revision: https://phab.enlightenment.org/D9930
-rw-r--r-- | src/lib/efl/interfaces/efl_gfx_image.eo | 2 | ||||
-rw-r--r-- | src/lib/evas/canvas/evas_callbacks.c | 2 | ||||
-rw-r--r-- | src/lib/evas/canvas/evas_object_inform.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/efl/interfaces/efl_gfx_image.eo b/src/lib/efl/interfaces/efl_gfx_image.eo index 3075c21a9a..158e27ea6f 100644 --- a/src/lib/efl/interfaces/efl_gfx_image.eo +++ b/src/lib/efl/interfaces/efl_gfx_image.eo @@ -281,7 +281,7 @@ interface @beta Efl.Gfx.Image } events { image,preload: void; [[Image data has been preloaded.]] - image,resize: void; [[Image was resized (its pixel data).]] + image,resized: void; [[Image was resized (its pixel data).]] image,unload: void; [[Image data has been unloaded (by some mechanism in EFL that threw out the original image data).]] } diff --git a/src/lib/evas/canvas/evas_callbacks.c b/src/lib/evas/canvas/evas_callbacks.c index 1ef776fcc2..fc2fc1a7d3 100644 --- a/src/lib/evas/canvas/evas_callbacks.c +++ b/src/lib/evas/canvas/evas_callbacks.c @@ -66,7 +66,7 @@ DEFINE_EVAS_CALLBACKS(_legacy_evas_callback_table, EVAS_CALLBACK_LAST, EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD, EFL_CANVAS_SCENE_EVENT_RENDER_PRE, EFL_CANVAS_SCENE_EVENT_RENDER_POST, - EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE, + EFL_GFX_IMAGE_EVENT_IMAGE_RESIZED, EFL_CANVAS_SCENE_EVENT_DEVICE_CHANGED, EFL_EVENT_POINTER_AXIS, EVAS_CANVAS_EVENT_VIEWPORT_RESIZE ); diff --git a/src/lib/evas/canvas/evas_object_inform.c b/src/lib/evas/canvas/evas_object_inform.c index 7422d3634e..c7b6dedfcf 100644 --- a/src/lib/evas/canvas/evas_object_inform.c +++ b/src/lib/evas/canvas/evas_object_inform.c @@ -116,6 +116,6 @@ evas_object_inform_call_image_resize(Evas_Object *eo_obj) Evas_Object_Protected_Data *obj = efl_data_scope_get(eo_obj, EFL_CANVAS_OBJECT_CLASS); int event_id = _evas_object_event_new(); - evas_object_event_callback_call(eo_obj, obj, EVAS_CALLBACK_IMAGE_RESIZE, NULL, event_id, EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE); + evas_object_event_callback_call(eo_obj, obj, EVAS_CALLBACK_IMAGE_RESIZE, NULL, event_id, EFL_GFX_IMAGE_EVENT_IMAGE_RESIZED); _evas_post_event_callback_call(obj->layer->evas->evas, obj->layer->evas, event_id); } |