diff options
author | Hans Petter Jansson <hpj@ximian.com> | 2003-02-22 08:44:47 +0800 |
---|---|---|
committer | Hans Petter <hansp@src.gnome.org> | 2003-02-22 08:44:47 +0800 |
commit | 81a5255f6dc6b64bd9befa6c83bafa4a285f72f5 (patch) | |
tree | 6843a3ffdac6da4b96761e13ae01eef86134d234 /mail/mail-config-factory.c | |
parent | 2dd7b84edba6021442f9fe1c1fa5b8c3bb39fc26 (diff) | |
download | gsoc2013-evolution-81a5255f6dc6b64bd9befa6c83bafa4a285f72f5.tar.gz gsoc2013-evolution-81a5255f6dc6b64bd9befa6c83bafa4a285f72f5.tar.zst gsoc2013-evolution-81a5255f6dc6b64bd9befa6c83bafa4a285f72f5.zip |
Don't try to get a FontPrefs control.
2003-02-21 Hans Petter Jansson <hpj@ximian.com>
* 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
Diffstat (limited to 'mail/mail-config-factory.c')
-rw-r--r-- | mail/mail-config-factory.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |