From 42333eed038c2a464c243c0852501b4529f74ec4 Mon Sep 17 00:00:00 2001 From: Larry Ewing Date: Tue, 20 May 2003 14:54:00 +0000 Subject: remove references to font prefs. 2003-05-20 Larry Ewing * mail-config-factory.c: remove references to font prefs. * component-factory.c: Remove stale refernces the the font prefs. (make_factory): remove unused variables. * mail-config.c (mail_config_init): add a notify callback to the spelling color. (config_write_style): rename and write out the spell color as well. svn path=/trunk/; revision=21279 --- mail/mail-config-factory.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'mail/mail-config-factory.c') diff --git a/mail/mail-config-factory.c b/mail/mail-config-factory.c index 2748a1473f..5a6db2cb47 100644 --- a/mail/mail-config-factory.c +++ b/mail/mail-config-factory.c @@ -30,9 +30,6 @@ #include "mail-accounts.h" #include "mail-preferences.h" #include "mail-composer-prefs.h" -#warning "mail-font-prefs" -/*#include "mail-font-prefs.h"*/ - #include "mail-config-factory.h" #define CONFIG_CONTROL_FACTORY_ID "OAFIID:GNOME_Evolution_Mail_ConfigControlFactory" @@ -82,15 +79,6 @@ mail_config_control_factory_cb (BonoboGenericFactory *factory, const char *compo } else if (!strcmp (component_id, MAIL_COMPOSER_PREFS_CONTROL_ID)) { prefs = mail_composer_prefs_new (); data->apply = (ApplyFunc) mail_composer_prefs_apply; -#warning "font prefs" -/* & see below */ -#define MAIL_FONT_PREFS_CONTROL_ID "OAFIID:GNOME_Evolution_Mail_FontPrefs_ConfigControl" - } else if (!strcmp (component_id, MAIL_FONT_PREFS_CONTROL_ID)) { -#if 0 - prefs = mail_font_prefs_new (); - data->apply = (ApplyFunc) mail_font_prefs_apply; -#endif - return NULL; } else { g_assert_not_reached (); } @@ -108,10 +96,6 @@ mail_config_control_factory_cb (BonoboGenericFactory *factory, const char *compo MAIL_PREFERENCES (prefs)->control = control; } else if (!strcmp (component_id, MAIL_COMPOSER_PREFS_CONTROL_ID)) { MAIL_COMPOSER_PREFS (prefs)->control = control; - } else if (!strcmp (component_id, MAIL_FONT_PREFS_CONTROL_ID)) { -#if 0 - MAIL_FONT_PREFS (prefs)->control = control; -#endif } else { g_assert_not_reached (); } -- cgit v1.2.3