aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2004-05-15 02:21:03 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-05-15 02:21:03 +0800
commitbfe4d349ad7c9102f4234f13a641b17e28bf69e7 (patch)
treefdafa50648ee39ed81786cec531ef355e37d549b /mail/mail-config.c
parenta1ce3904ce91366e1bf5ecc57f8280b9440a0cd9 (diff)
downloadgsoc2013-evolution-bfe4d349ad7c9102f4234f13a641b17e28bf69e7.tar.gz
gsoc2013-evolution-bfe4d349ad7c9102f4234f13a641b17e28bf69e7.tar.zst
gsoc2013-evolution-bfe4d349ad7c9102f4234f13a641b17e28bf69e7.zip
(config_write_style): fflush the gtkrc file.
svn path=/trunk/; revision=25909
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r--mail/mail-config.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c
index 933aebb9e9..c16b44b4d3 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -278,16 +278,17 @@ config_write_style (void)
" font_name = \"%s\"\n",
fix_font, var_font);
}
- fprintf (rc, "}\n\n");
+ fprintf (rc, "}\n\n");
fprintf (rc, "widget \"*.EMFolderView.*.GtkHTML\" style \"evolution-mail-custom-fonts\"\n");
fprintf (rc, "widget \"*.EMFolderBrowser.*.GtkHTML\" style \"evolution-mail-custom-fonts\"\n");
fprintf (rc, "widget \"*.EMMessageBrowser.*.GtkHTML\" style \"evolution-mail-custom-fonts\"\n");
fprintf (rc, "widget \"*.BonoboPlug.*.GtkHTML\" style \"evolution-mail-custom-fonts\"\n");
fprintf (rc, "widget \"*.EvolutionMailPrintHTMLWidget\" style \"evolution-mail-custom-fonts\"\n");
-
- if (fclose (rc) == 0)
- gtk_rc_reparse_all ();
+ fflush (rc);
+ fclose (rc);
+
+ gtk_rc_reparse_all ();
}
static void