[evolution-patches] Simple cleanup



I'm trying to split up unrelated changes so I'll be sending some
smallish patches.  This removes some wanrings.

--Larry
Index: component-factory.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/component-factory.c,v
retrieving revision 1.325
diff -u -p -r1.325 component-factory.c
--- component-factory.c	15 May 2003 17:58:01 -0000	1.325
+++ component-factory.c	20 May 2003 13:57:35 -0000
@@ -1597,14 +1597,9 @@ factory (BonoboGenericFactory *factory,
 		return evolution_folder_info_new();
 	else if (strcmp(component_id, WIZARD_IID) == 0)
 		return evolution_mail_config_wizard_new();
-
-#warning "font prefs"
-#define MAIL_FONT_PREFS_CONTROL_ID "OAFIID:GNOME_Evolution_Mail_FontPrefs_ConfigControl"
-
 	else if (strcmp (component_id, MAIL_ACCOUNTS_CONTROL_ID) == 0
 		 || strcmp (component_id, MAIL_PREFERENCES_CONTROL_ID) == 0
-		 || strcmp (component_id, MAIL_COMPOSER_PREFS_CONTROL_ID) == 0
-		 /* || strcmp (component_id, MAIL_FONT_PREFS_CONTROL_ID) == 0 */)
+		 || strcmp (component_id, MAIL_COMPOSER_PREFS_CONTROL_ID) == 0)
 		return mail_config_control_factory_cb (factory, component_id, evolution_shell_client_corba_objref (global_shell_client));
 	else if (strcmp(component_id, COMPOSER_IID) == 0)
 		return (BonoboObject *)evolution_composer_new(composer_send_cb, composer_save_draft_cb);
@@ -1616,7 +1611,6 @@ factory (BonoboGenericFactory *factory,
 static Bonobo_Unknown
 make_factory (PortableServer_POA poa, const char *iid, gpointer impl_ptr, CORBA_Environment *ev)
 {
-	struct sigaction sa, osa;
 	static int init = 0;
 
 	if (!init) {
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/mail/ChangeLog,v
retrieving revision 1.2730
diff -u -p -r1.2730 ChangeLog
--- ChangeLog	19 May 2003 15:12:10 -0000	1.2730
+++ ChangeLog	20 May 2003 13:57:41 -0000
@@ -1,3 +1,9 @@
+2003-05-20  Larry Ewing  <lewing ximian com>
+
+	* component-factory.c: Remove stale refernces the the font prefs.
+	(make_factory): remove unused variables.
+
+
 2003-05-20  Not Zed  <notzed lostzed mmc com au>
 
 	** See bug #43234


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