aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Trowbridge <trow@ximian.com>2001-09-18 10:31:05 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-09-18 10:31:05 +0800
commitd448b80bd6869bc238fedf21dd62b7148da970bb (patch)
treeea1d2467b41b7f43dcd12972052b1a67e7172d18
parent2a2a86d8d44185ab67a8871f3b9d3356ce1e6e4d (diff)
downloadgsoc2013-evolution-d448b80bd6869bc238fedf21dd62b7148da970bb.tar.gz
gsoc2013-evolution-d448b80bd6869bc238fedf21dd62b7148da970bb.tar.zst
gsoc2013-evolution-d448b80bd6869bc238fedf21dd62b7148da970bb.zip
We want to assume that a destination that comes from a card is
2001-09-17 Jon Trowbridge <trow@ximian.com> * backend/ebook/e-destination.c (e_destination_is_valid): We want to assume that a destination that comes from a card is automatically valid, but the right way to check that is by calling e_destination_from_card, not by checking if dest->priv->card != NULL. (Fixed bug #10017) svn path=/trunk/; revision=12930
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/backend/ebook/e-destination.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 1034cb0f2f..81712a455a 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,11 @@
2001-09-17 Jon Trowbridge <trow@ximian.com>
+ * backend/ebook/e-destination.c (e_destination_is_valid): We want
+ to assume that a destination that comes from a card is
+ automatically valid, but the right way to check that is by calling
+ e_destination_from_card, not by checking if dest->priv->card !=
+ NULL. (Fixed bug #10017)
+
* gui/component/select-names/e-select-names-completion.c
(match_name): Fixed a stupid bug was causing completion to fail
for contacts who have only one name. (The classic example we all
diff --git a/addressbook/backend/ebook/e-destination.c b/addressbook/backend/ebook/e-destination.c
index e906cd8bed..f5564f37ae 100644
--- a/addressbook/backend/ebook/e-destination.c
+++ b/addressbook/backend/ebook/e-destination.c
@@ -331,7 +331,7 @@ e_destination_is_valid (const EDestination *dest)
g_return_val_if_fail (E_IS_DESTINATION (dest), FALSE);
- if (dest->priv->card != NULL)
+ if (e_destination_from_card (dest))
return TRUE;
email = e_destination_get_email (dest);
td>2009-09-302-5/+5 * - Update to 0.92.lippe2009-08-243-21/+8 * - bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-311-1/+1 * - Mark MAKE_JOBS_UNSAFEamdmi32009-07-161-0/+1 * - Fix core-dump with malloc debug onpav2009-06-302-0/+14 * - Update to 0.91amdmi32009-05-202-4/+4 * - Update to 0.90miwi2009-05-172-5/+23 * wxPerl is an extension module allowing the creation of GUI (Graphicalmiwi2009-03-16