Add AbstractFieldDetails.values_equal().
authorTravis Reitter <travis.reitter@collabora.co.uk>
Fri, 21 Oct 2011 16:37:26 +0000 (09:37 -0700)
committerTravis Reitter <travis.reitter@collabora.co.uk>
Mon, 24 Oct 2011 18:39:23 +0000 (11:39 -0700)
commit8b991be5f2ab4fd8d81956c973c656479f899144
tree03c5979c16560699c1a19e73b7698d8da96b53bd
parent144583fd56fcbb9325e54ee6ded5d5005a3d3b62
Add AbstractFieldDetails.values_equal().

This function is lets subclasses to provide "smart" value comparisons
without needing to factor in the parameters. This is particularly
important for uses like PotententialMatches.

This clarifies the roles of AbstractFieldDetails.equal() and
parameters_equal() (both in form and documentation).

Closes: bgo#662433 - AbstractFieldDetails.equal() is ambiguous about
checking parameters.
NEWS
folks/abstract-field-details.vala
folks/phone-details.vala
folks/potential-match.vala