[evolution-patches] add missing #ifdef HAVE_LDAP



Hi,

When I right click on an address book and choose « New Address Book »,
evolution crashes complaining about setup_searching_tab being undefined.
If I #ifdef it out as in the attached patch, things work properly.

Totally off-topic, but I sent a copyright assignment form a few weeks
ago, and haven't heard about it since then, any idea what I can do to
know whether it reached Ximian or not ?

Christophe
Index: addressbook/gui/component/addressbook-config.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/component/addressbook-config.c,v
retrieving revision 1.81
diff -u -r1.81 addressbook-config.c
--- addressbook/gui/component/addressbook-config.c	25 May 2004 14:57:04 -0000	1.81
+++ addressbook/gui/component/addressbook-config.c	27 May 2004 19:58:39 -0000
@@ -1102,7 +1102,9 @@
 			  G_CALLBACK (source_group_changed_cb), sdialog);
 
 	setup_general_tab (sdialog, add_folder_modify);
+#ifdef HAVE_LDAP
 	setup_searching_tab (sdialog, add_folder_modify);
+#endif
 	setup_connecting_tab (sdialog, add_folder_modify);
 
 	sdialog->auth_frame = glade_xml_get_widget (sdialog->gui, "authentication-frame");

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=



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