[evolution-patches] dead code removal in addressbook



just removes a little bit of crufty #if 0'ed code.

Chris
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/ChangeLog,v
retrieving revision 1.1813
diff -u -r1.1813 ChangeLog
--- ChangeLog	19 Aug 2004 20:33:10 -0000	1.1813
+++ ChangeLog	20 Aug 2004 18:58:15 -0000
@@ -1,3 +1,8 @@
+2004-08-20  Chris Toshok  <toshok ximian com>
+
+	* gui/component/component-factory.c (factory): remove the dead
+	ldap config control stuff.
+
 2004-08-19  Chris Toshok  <toshok ximian com>
 
 	[ likely fixes #61500 ]
Index: gui/component/component-factory.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/component/component-factory.c,v
retrieving revision 1.13
diff -u -r1.13 component-factory.c
--- gui/component/component-factory.c	11 May 2004 19:28:36 -0000	1.13
+++ gui/component/component-factory.c	20 Aug 2004 18:58:15 -0000
@@ -43,7 +43,6 @@
 #define COMPONENT_ID                   "OAFIID:GNOME_Evolution_Addressbook_Component:" BASE_VERSION
 #define ADDRESS_POPUP_ID               "OAFIID:GNOME_Evolution_Addressbook_AddressPopup:" BASE_VERSION
 #define SELECT_NAMES_ID                "OAFIID:GNOME_Evolution_Addressbook_SelectNames:" BASE_VERSION
-#define LDAP_STORAGE_CONFIG_CONTROL_ID "OAFIID:GNOME_Evolution_LDAPStorage_ConfigControl:" BASE_VERSION
 #define COMPLETION_CONFIG_CONTROL_ID "OAFIID:GNOME_Evolution_Addressbook_Autocompletion_ConfigControl:" BASE_VERSION
 #define CERTIFICATE_MANAGER_CONFIG_CONTROL_ID "OAFIID:GNOME_Evolution_SMime_CertificateManager_ConfigControl:" BASE_VERSION
 
@@ -66,11 +65,6 @@
 		return BONOBO_OBJECT (eab_popup_control_new ());
 	if (strcmp (component_id, COMPLETION_CONFIG_CONTROL_ID) == 0)
 		return BONOBO_OBJECT (autocompletion_config_control_new ());
-#if 0
-	/* Config control is dead */
-	if (strcmp (component_id, LDAP_STORAGE_CONFIG_CONTROL_ID) == 0)
-		return BONOBO_OBJECT (addressbook_config_control_new ());
-#endif
 	if (strcmp (component_id, SELECT_NAMES_ID) == 0)
 		return BONOBO_OBJECT (e_select_names_bonobo_new ());
 #ifdef ENABLE_SMIME


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