summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_list.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/lib/elementary/efl_ui_list.c
parentc8cee32929a3c03fca65a4532d1c627cd48e33f2 (diff)
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 T7558 Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D7987
Diffstat (limited to 'src/lib/elementary/efl_ui_list.c')
-rw-r--r--src/lib/elementary/efl_ui_list.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/elementary/efl_ui_list.c b/src/lib/elementary/efl_ui_list.c
index bc364505f3..148e8f4d92 100644
--- a/src/lib/elementary/efl_ui_list.c
+++ b/src/lib/elementary/efl_ui_list.c
@@ -456,11 +456,11 @@ _efl_ui_list_efl_object_finalize(Eo *obj,
456 _efl_ui_list_bar_show_cb, obj); 456 _efl_ui_list_bar_show_cb, obj);
457 efl_event_callback_add(obj, EFL_UI_SCROLLBAR_EVENT_BAR_HIDE, 457 efl_event_callback_add(obj, EFL_UI_SCROLLBAR_EVENT_BAR_HIDE,
458 _efl_ui_list_bar_hide_cb, obj); 458 _efl_ui_list_bar_hide_cb, obj);
459 efl_event_callback_add(obj, EFL_GFX_ENTITY_EVENT_RESIZE, 459 efl_event_callback_add(obj, EFL_GFX_ENTITY_EVENT_SIZE_CHANGED,
460 _efl_ui_list_resized_cb, obj); 460 _efl_ui_list_resized_cb, obj);
461 efl_event_callback_add(obj, EFL_GFX_ENTITY_EVENT_HINTS_CHANGED, 461 efl_event_callback_add(obj, EFL_GFX_ENTITY_EVENT_HINTS_CHANGED,
462 _efl_ui_list_size_hint_changed_cb, obj); 462 _efl_ui_list_size_hint_changed_cb, obj);
463 efl_event_callback_add(pd->pan, EFL_GFX_ENTITY_EVENT_RESIZE, 463 efl_event_callback_add(pd->pan, EFL_GFX_ENTITY_EVENT_SIZE_CHANGED,
464 _efl_ui_list_pan_resized_cb, obj); 464 _efl_ui_list_pan_resized_cb, obj);
465 465
466 elm_layout_sizing_eval(obj); 466 elm_layout_sizing_eval(obj);
@@ -481,11 +481,11 @@ _efl_ui_list_efl_object_destructor(Eo *obj, Efl_Ui_List_Data *pd)
481 _efl_ui_list_bar_show_cb, obj); 481 _efl_ui_list_bar_show_cb, obj);
482 efl_event_callback_del(obj, EFL_UI_SCROLLBAR_EVENT_BAR_HIDE, 482 efl_event_callback_del(obj, EFL_UI_SCROLLBAR_EVENT_BAR_HIDE,
483 _efl_ui_list_bar_hide_cb, obj); 483 _efl_ui_list_bar_hide_cb, obj);
484 efl_event_callback_del(obj, EFL_GFX_ENTITY_EVENT_RESIZE, 484 efl_event_callback_del(obj, EFL_GFX_ENTITY_EVENT_SIZE_CHANGED,
485 _efl_ui_list_resized_cb, obj); 485 _efl_ui_list_resized_cb, obj);
486 efl_event_callback_del(obj, EFL_GFX_ENTITY_EVENT_HINTS_CHANGED, 486 efl_event_callback_del(obj, EFL_GFX_ENTITY_EVENT_HINTS_CHANGED,
487 _efl_ui_list_size_hint_changed_cb, obj); 487 _efl_ui_list_size_hint_changed_cb, obj);
488 efl_event_callback_del(pd->pan, EFL_GFX_ENTITY_EVENT_RESIZE, 488 efl_event_callback_del(pd->pan, EFL_GFX_ENTITY_EVENT_SIZE_CHANGED,
489 _efl_ui_list_pan_resized_cb, obj); 489 _efl_ui_list_pan_resized_cb, obj);
490 490
491 efl_del(pd->box); 491 efl_del(pd->box);