From f296ef013c4f869b26a99e3149547f043d25179a Mon Sep 17 00:00:00 2001 From: Sivaiah Nallagatla Date: Sun, 8 Feb 2004 11:58:37 +0000 Subject: pass contact as an argument instead of contact id to 2004-02-08 Sivaiah Nallagatla * 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 --- addressbook/ChangeLog | 5 +++++ addressbook/gui/widgets/e-addressbook-view.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'addressbook') 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 + + * 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 * 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); } -- cgit