summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-09-16 10:58:24 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-09-16 10:58:24 +0200
commit777a2a89e1d44b15b2e83f57ef9f6d933affb3df (patch)
tree7dd57f1af789747390242a2b30a4e371ade0e66b
parent16a93a537459267cd2fe90fd664f32a9af9e6366 (diff)
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.eo2
-rw-r--r--src/lib/evas/canvas/evas_callbacks.c2
-rw-r--r--src/lib/evas/canvas/evas_object_inform.c2
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 3075c21..158e27e 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
281 } 281 }
282 events { 282 events {
283 image,preload: void; [[Image data has been preloaded.]] 283 image,preload: void; [[Image data has been preloaded.]]
284 image,resize: void; [[Image was resized (its pixel data).]] 284 image,resized: void; [[Image was resized (its pixel data).]]
285 image,unload: void; [[Image data has been unloaded (by some mechanism in 285 image,unload: void; [[Image data has been unloaded (by some mechanism in
286 EFL that threw out the original image data).]] 286 EFL that threw out the original image data).]]
287 } 287 }
diff --git a/src/lib/evas/canvas/evas_callbacks.c b/src/lib/evas/canvas/evas_callbacks.c
index 1ef776f..fc2fc1a 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,
66 EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD, 66 EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD,
67 EFL_CANVAS_SCENE_EVENT_RENDER_PRE, 67 EFL_CANVAS_SCENE_EVENT_RENDER_PRE,
68 EFL_CANVAS_SCENE_EVENT_RENDER_POST, 68 EFL_CANVAS_SCENE_EVENT_RENDER_POST,
69 EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE, 69 EFL_GFX_IMAGE_EVENT_IMAGE_RESIZED,
70 EFL_CANVAS_SCENE_EVENT_DEVICE_CHANGED, 70 EFL_CANVAS_SCENE_EVENT_DEVICE_CHANGED,
71 EFL_EVENT_POINTER_AXIS, 71 EFL_EVENT_POINTER_AXIS,
72 EVAS_CANVAS_EVENT_VIEWPORT_RESIZE ); 72 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 7422d36..c7b6ded 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)
116 Evas_Object_Protected_Data *obj = efl_data_scope_get(eo_obj, EFL_CANVAS_OBJECT_CLASS); 116 Evas_Object_Protected_Data *obj = efl_data_scope_get(eo_obj, EFL_CANVAS_OBJECT_CLASS);
117 int event_id = _evas_object_event_new(); 117 int event_id = _evas_object_event_new();
118 118
119 evas_object_event_callback_call(eo_obj, obj, EVAS_CALLBACK_IMAGE_RESIZE, NULL, event_id, EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE); 119 evas_object_event_callback_call(eo_obj, obj, EVAS_CALLBACK_IMAGE_RESIZE, NULL, event_id, EFL_GFX_IMAGE_EVENT_IMAGE_RESIZED);
120 _evas_post_event_callback_call(obj->layer->evas->evas, obj->layer->evas, event_id); 120 _evas_post_event_callback_call(obj->layer->evas->evas, obj->layer->evas, event_id);
121} 121}