[evolution-patches] Patch to fix bug #70857



Evolution crashes when click on new mail button. I've attached a simple
patch that fixes it.

Greetings, 
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Carlos Garcia Campos a.k.a. KaL
   elkalmail yahoo es
   carlosgc gnome org
   http://carlosgc.linups.org
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=             
PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x523E6462
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/libedataserverui/ChangeLog,v
retrieving revision 1.3
diff -u -u -r1.3 ChangeLog
--- ChangeLog	24 Dec 2004 16:45:43 -0000	1.3
+++ ChangeLog	28 Dec 2004 20:11:42 -0000
@@ -1,3 +1,8 @@
+2004-12-28  Carlos Garcia Campos <carlosgc gnome org>
+
+	* e-contact-store.c (e_contact_store_add_book): Return if
+	E_IS_BOOk(book) fails
+
 2004-12-24  Hans Petter Jansson  <hpj novell com>
 
 	* e-name-selector-entry.c (find_destination_by_index): Return NULL on
Index: e-contact-store.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/libedataserverui/e-contact-store.c,v
retrieving revision 1.3
diff -u -u -r1.3 e-contact-store.c
--- e-contact-store.c	20 Dec 2004 11:21:01 -0000	1.3
+++ e-contact-store.c	28 Dec 2004 20:11:42 -0000
@@ -777,6 +777,7 @@
 	EBookView     *view;
 
 	g_return_if_fail (E_IS_CONTACT_STORE (contact_store));
+	g_return_if_fail (E_IS_BOOK (book));
 
 	if (find_contact_source_by_book (contact_store, book) >= 0) {
 		g_warning ("Same book added more than once to EContactStore!");

Attachment: signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]