Use the most-parent equal() function when comparing postal addresses.
authorTravis Reitter <travis.reitter@collabora.co.uk>
Thu, 20 Oct 2011 17:24:40 +0000 (10:24 -0700)
committerTravis Reitter <travis.reitter@collabora.co.uk>
Mon, 24 Oct 2011 18:39:23 +0000 (11:39 -0700)
Helps: bgo#662433 - AbstractFieldDetails.equal() is ambiguous about
checking parameters.

tests/tracker/set-postal-addresses.vala

index 9c80f75..32f0678 100644 (file)
@@ -160,7 +160,7 @@ public class SetPostalAddressesTests : Folks.TestCase
             {
               /* we don't care if UIDs differ for this test */
               this._postal_address_fd.id = pafd.id;
-              if (pafd.value.equal (this._postal_address_fd.value))
+              if (pafd.equal (this._postal_address_fd))
                 {
                   this._postal_address_found = true;
                   this._main_loop.quit ();