aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorSivaiah Nallagatla <snallagatla@novell.com>2004-02-08 19:58:37 +0800
committerSivaiah Nallagatla <siva@src.gnome.org>2004-02-08 19:58:37 +0800
commitf296ef013c4f869b26a99e3149547f043d25179a (patch)
treec48d6a03eb397504292ef821327348a02306e95f /addressbook
parent56cbe4adde86fa49f33324901e35c4b02332d841 (diff)
downloadgsoc2013-evolution-f296ef013c4f869b26a99e3149547f043d25179a.tar.gz
gsoc2013-evolution-f296ef013c4f869b26a99e3149547f043d25179a.tar.zst
gsoc2013-evolution-f296ef013c4f869b26a99e3149547f043d25179a.zip
pass contact as an argument instead of contact id to
2004-02-08 Sivaiah Nallagatla <snallagatla@novell.com> * gui/widgets/e-addressbook-view.c (delete) : pass contact as an argument instead of contact id to e_book_async_remove_contact svn path=/trunk/; revision=24672
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/gui/widgets/e-addressbook-view.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 802fe534a5..fd732348ac 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-08 Sivaiah Nallagatla <snallagatla@novell.com>
+
+ * gui/widgets/e-addressbook-view.c (delete) : pass contact
+ as an argument instead of contact id to e_book_async_remove_contact
+
2004-02-06 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-migrate.c (create_groups): don't
diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c
index 4e87fce964..aaaee4a089 100644
--- a/addressbook/gui/widgets/e-addressbook-view.c
+++ b/addressbook/gui/widgets/e-addressbook-view.c
@@ -941,7 +941,7 @@ delete (GtkWidget *widget, ContactAndBook *contact_and_book)
/* Remove the card. */
/* XXX no callback specified... ugh */
e_book_async_remove_contact (book,
- e_contact_get_const (contact, E_CONTACT_UID),
+ contact,
NULL,
NULL);
}