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
This commit is contained in:
committed by
Jon Trowbridge
parent
2a2a86d8d4
commit
d448b80bd6
@ -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
|
||||
|
||||
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user