raster pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=dc3709296bfc0323dc116f86fd4559547e4a62f6
commit dc3709296bfc0323dc116f86fd4559547e4a62f6 Author: Jaehyun Cho <jae_hyun....@samsung.com> Date: Thu Dec 18 14:42:13 2014 +0900 elm_widget: Pass Elm_Object_Item *item as *event_info in item->del_func. Summary: Pass Elm_Object_Item *item instead of Elm_Widget_Item_Data *item as *event_info in item->del_func to let *event_info be used. @fix Reviewers: Hermet Differential Revision: https://phab.enlightenment.org/D1788 --- src/lib/elm_widget.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c index 4b0cd5a..c0dacac 100644 --- a/src/lib/elm_widget.c +++ b/src/lib/elm_widget.c @@ -4109,7 +4109,7 @@ _eo_del_cb(void *data EINA_UNUSED, Eo *eo_item, const Eo_Event_Description *desc Elm_Widget_Item_Data *item = eo_data_scope_get(eo_item, ELM_WIDGET_ITEM_CLASS); ELM_WIDGET_ITEM_CHECK_OR_RETURN(item, EINA_TRUE); if (item->del_func) - item->del_func((void *)item->data, item->widget, item); + item->del_func((void *)item->data, item->widget, item->eo_obj); return EINA_TRUE; } @@ -4244,7 +4244,7 @@ _elm_widget_item_pre_notify_del(Eo *eo_item EINA_UNUSED, Elm_Widget_Item_Data *i { ELM_WIDGET_ITEM_CHECK_OR_RETURN(item); if (!item->del_func) return; - item->del_func((void *)item->data, item->widget, item); + item->del_func((void *)item->data, item->widget, item->eo_obj); item->del_func = NULL; } @@ -4276,7 +4276,7 @@ _elm_widget_item_del_cb_set(Eo *eo_item EINA_UNUSED, if ((item->del_func) && (item->del_func != func)) WRN("You're replacing a previously set del_cb %p of item %p with %p", - item->del_func, item, func); + item->del_func, item->eo_obj, func); item->del_func = func; } --