{
ELM_GENLIST_ITEM_CHECK_OR_RETURN(it);
- if ((it->tooltip.content_cb == func) && (it->tooltip.data == data))
- return;
-
- if (it->tooltip.del_cb)
- it->tooltip.del_cb((void *)it->tooltip.data, WIDGET(it), it);
+ if ((it->tooltip.content_cb != func) || (it->tooltip.data != data))
+ {
+ if (it->tooltip.del_cb)
+ it->tooltip.del_cb((void *)it->tooltip.data, WIDGET(it), it);
- it->tooltip.content_cb = func;
- it->tooltip.data = data;
- it->tooltip.del_cb = del_cb;
+ it->tooltip.content_cb = func;
+ it->tooltip.data = data;
+ it->tooltip.del_cb = del_cb;
+ }
if (VIEW(it))
{