Page MenuHomePhabricator

elm/genlist: slightly simplify use of _item_filtered_get()
ClosedPublic

Authored by zmike on Oct 25 2019, 7:22 AM.

Details

Summary

passing the smart data here (which we always have) makes the function
a little clearer to read. similarly, we can check whether the filter_data
pointer is set inside the function to avoid having to check it everywhere else
Depends on D10524

Diff Detail

Repository
rEFL core/efl
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
zmike created this revision.Oct 25 2019, 7:22 AM

It seems that this patch has no reviewers specified. If you are unsure who can review your patch, please check this wiki page and see if anyone can be added: https://phab.enlightenment.org/w/maintainers_reviewers/

cedric accepted this revision.Oct 25 2019, 10:30 AM
This revision is now accepted and ready to land.Oct 25 2019, 10:30 AM
Closed by commit rEFL846563f13c9b: elm/genlist: slightly simplify use of _item_filtered_get() (authored by zmike, committed by Marcel Hollerbach <mail@marcel-hollerbach.de>). · Explain WhyOct 29 2019, 8:15 AM
This revision was automatically updated to reflect the committed changes.