From 81a5255f6dc6b64bd9befa6c83bafa4a285f72f5 Mon Sep 17 00:00:00 2001 From: Hans Petter Jansson Date: Sat, 22 Feb 2003 00:44:47 +0000 Subject: Don't try to get a FontPrefs control. 2003-02-21 Hans Petter Jansson * component-factory.c (factory): Don't try to get a FontPrefs control. * mail-config-factory.c (mail_config_control_factory_cb): Just return NULL if a FontPrefs control was requested. * mail-config.c (mail_config_get_default_account): If no accounts are defined, don't try to set the default account. svn path=/trunk/; revision=19996 --- mail/mail-config-factory.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mail/mail-config-factory.c') diff --git a/mail/mail-config-factory.c b/mail/mail-config-factory.c index bda05e83ad..2748a1473f 100644 --- a/mail/mail-config-factory.c +++ b/mail/mail-config-factory.c @@ -90,10 +90,11 @@ mail_config_control_factory_cb (BonoboGenericFactory *factory, const char *compo prefs = mail_font_prefs_new (); data->apply = (ApplyFunc) mail_font_prefs_apply; #endif + return NULL; } else { g_assert_not_reached (); } - + data->prefs = prefs; g_object_ref (prefs); -- cgit v1.2.3