[evolution-patches] patch to fix a crash in address book while removing contact
- From: Sivaiah N <snallagatla novell com>
- To: evolution-patches ximian com
- Subject: [evolution-patches] patch to fix a crash in address book while removing contact
- Date: 05 Feb 2004 16:35:26 +0530
Hi,
contact id is passed as an argument to e_book_async_remove_contact
instead of contact in delete function in e-addressbook-view.c causing a
crash. Attached small patch fixes that.
Thanks,
Sivaiah
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/ChangeLog,v
retrieving revision 1.1567
diff -u -r1.1567 ChangeLog
--- ChangeLog 3 Feb 2004 18:22:39 -0000 1.1567
+++ ChangeLog 5 Feb 2004 11:05:06 -0000
@@ -1,3 +1,8 @@
+2004-02-05 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-03 Chris Toshok <toshok ximian com>
* gui/widgets/eab-contact-display.c (on_url_requested): remove
Index: gui/widgets/e-addressbook-view.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/widgets/e-addressbook-view.c,v
retrieving revision 1.126
diff -u -r1.126 e-addressbook-view.c
--- gui/widgets/e-addressbook-view.c 2 Feb 2004 22:20:41 -0000 1.126
+++ gui/widgets/e-addressbook-view.c 5 Feb 2004 11:05:07 -0000
@@ -947,7 +947,7 @@
/* 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]