diff --git a/legacy/elementary/ChangeLog b/legacy/elementary/ChangeLog index 2dbd1d055f..78382318a2 100644 --- a/legacy/elementary/ChangeLog +++ b/legacy/elementary/ChangeLog @@ -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. diff --git a/legacy/elementary/NEWS b/legacy/elementary/NEWS index 5d53d15fa6..1186efee47 100644 --- a/legacy/elementary/NEWS +++ b/legacy/elementary/NEWS @@ -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: diff --git a/legacy/elementary/src/lib/elc_ctxpopup.c b/legacy/elementary/src/lib/elc_ctxpopup.c index a8bea71160..af1acd075f 100644 --- a/legacy/elementary/src/lib/elc_ctxpopup.c +++ b/legacy/elementary/src/lib/elc_ctxpopup.c @@ -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); }