[evolution-patches] patch for #73206 (address book)



Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/ChangeLog,v
retrieving revision 1.1926
diff -u -p -r1.1926 ChangeLog
--- ChangeLog	28 Feb 2005 22:20:06 -0000	1.1926
+++ ChangeLog	3 Mar 2005 05:34:10 -0000
@@ -1,3 +1,11 @@
+2005-03-03   Sivaiah Nallagatla <snallagatla novell com>
+
+	* gui/component/addressbook.c (load_source_auth_cb):
+	Make sure LoadSourceData has call back installed
+	before calling it. cb is NULL when called from 
+	auth_required_cb 
+	Fixes #73206 
+	
 2005-02-26   Sivaiah Nallagatla <snallagatla novell com>
 
 	* gui/widgets/e-addressbook-view.c :
Index: gui/component/addressbook.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/component/addressbook.c,v
retrieving revision 1.248
diff -u -p -r1.248 addressbook.c
--- gui/component/addressbook.c	23 Feb 2005 18:56:55 -0000	1.248
+++ gui/component/addressbook.c	3 Mar 2005 05:34:10 -0000
@@ -98,7 +98,8 @@ load_source_auth_cb (EBook *book, EBookS
 						_("Accessing LDAP Server anonymously"));
 				g_signal_connect (dialog, "response", G_CALLBACK(gtk_widget_destroy), NULL);
 				gtk_widget_show (dialog);
-				data->cb (book, E_BOOK_ERROR_OK, data->closure);
+				if (data->cb)
+					data->cb (book, E_BOOK_ERROR_OK, data->closure);
 				free_load_source_data (data);
 				return;
 			}


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