ctxpopup - Don't be dead even if a ctxpopup item callback function is null.

This commit is contained in:
ChunEon Park 2013-05-02 20:25:42 +09:00
parent 6b4f912a4c
commit fc807ab7f6
3 changed files with 6 additions and 0 deletions

View File

@ -1323,3 +1323,7 @@
2012-05-02 WooHyun Jung
* elm_entry_filter_accept_set function now can recognize tags.
2012-05-02 ChunEon Park (Hermet)
* Don't be dead even if a ctxpopup item callback function is null.

View File

@ -222,6 +222,7 @@ Fixes:
* Fix the toolbar item clipped problem on reordering items.
* Fix elm_object_cursor_theme_search_enabled_set to do as it's name described.
* Elm_entry_filter_accept_set function now can recognize tags.
* Don't be dead even if a ctxpopup item callback is null.
Removals:

View File

@ -1327,6 +1327,7 @@ static void
_item_wrap_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
{
Elm_Ctxpopup_Item *item = data;
if (!item->wcb.org_func_cb) return;
item->wcb.org_func_cb((void *)item->wcb.org_data, item->wcb.cobj, item);
}