aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/ebook/e-card-compare.c
diff options
context:
space:
mode:
authorJon Trowbridge <trow@ximian.com>2001-06-22 02:58:15 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-06-22 02:58:15 +0800
commite061c100c7ef9d316a33bfb537022d5b8b307389 (patch)
tree79c71fe9359f537fa05eb429293451f5101ef1cc /addressbook/backend/ebook/e-card-compare.c
parentc17467d7d521073cc2959fb51f294dde586a30b4 (diff)
downloadgsoc2013-evolution-e061c100c7ef9d316a33bfb537022d5b8b307389.tar
gsoc2013-evolution-e061c100c7ef9d316a33bfb537022d5b8b307389.tar.gz
gsoc2013-evolution-e061c100c7ef9d316a33bfb537022d5b8b307389.tar.bz2
gsoc2013-evolution-e061c100c7ef9d316a33bfb537022d5b8b307389.tar.lz
gsoc2013-evolution-e061c100c7ef9d316a33bfb537022d5b8b307389.tar.xz
gsoc2013-evolution-e061c100c7ef9d316a33bfb537022d5b8b307389.tar.zst
gsoc2013-evolution-e061c100c7ef9d316a33bfb537022d5b8b307389.zip
Renamed. (The old name, edit_contact_info_have_book_cb was a hold-over
2001-06-21 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-popup.c (make_contact_editor_cb): Renamed. (The old name, edit_contact_info_have_book_cb was a hold-over from before, when we weren't using e_book_use_local_address_book.) * gui/component/e-address-popup.c (e_address_popup_schedule_refresh): A Added. We now do the name refreshes in an idle function, rather than in the setters. (e_address_popup_set_free_form): Added. Properly handle inputs of the form "Foo <bar@zar.com>", extracting the name and e-mail address. (e_address_popup_set_name): Check to make sure that the free-form handler shouldn't be used to handle the input. Schedule a refresh after making any changes. (e_address_popup_set_email): Check to make sure that the free-form handler shouldn't be used to handle the input. Schedule a refresh after making any changes. (e_address_popup_name_only_matches): Temporary place-holder for handling name-only matches. (query_cb): If our initial query fails (and included e-mail information), do a name-only query. This is to handle the case of adding new e-mail addresses to existing contacts. (e_address_popup_query): Eliminated the "common_book" crap; using e_book_use_local_address_book instead. * backend/ebook/e-card-compare.c (match_search_info_free): Make sure that the ->avoid list gets properly freed. svn path=/trunk/; revision=10374
Diffstat (limited to 'addressbook/backend/ebook/e-card-compare.c')
-rw-r--r--addressbook/backend/ebook/e-card-compare.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/addressbook/backend/ebook/e-card-compare.c b/addressbook/backend/ebook/e-card-compare.c
index 136535409b..6f5cf86de9 100644
--- a/addressbook/backend/ebook/e-card-compare.c
+++ b/addressbook/backend/ebook/e-card-compare.c
@@ -337,6 +337,10 @@ match_search_info_free (MatchSearchInfo *info)
if (info) {
gtk_object_unref (GTK_OBJECT (info->card));
g_free (info);
+
+ /* This should already have been deallocated, but just in case... */
+ g_list_foreach (info->avoid, (GFunc) gtk_object_unref, NULL);
+ g_list_free (info->avoid);
}
}