[gnumeric] Conf: fixup plugins.



commit 2bb1eb9b3611c15cbd7174e7e03dcd93a2fb6c42
Author: Morten Welinder <terra gnome org>
Date:   Sat Jun 27 20:24:49 2009 -0400

    Conf: fixup plugins.

 plugins/html/latex.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plugins/html/latex.c b/plugins/html/latex.c
index bff7186..4ea9554 100644
--- a/plugins/html/latex.c
+++ b/plugins/html/latex.c
@@ -407,7 +407,7 @@ latex_math_fputs_latin (char const *text, GsfOutput *output)
 static void
 latex_fputs (char const *text, GsfOutput *output)
 {
-	if (gnm_app_prefs->latex_use_utf8)
+	if (gnm_conf_get_plugin_latex_use_utf8 ())
 		latex_fputs_utf (text, output);
 	else
 		latex_fputs_latin (text, output);
@@ -416,7 +416,7 @@ latex_fputs (char const *text, GsfOutput *output)
 static void
 latex_math_fputs (char const *text, GsfOutput *output)
 {
-	if (gnm_app_prefs->latex_use_utf8)
+	if (gnm_conf_get_plugin_latex_use_utf8 ())
 		latex_math_fputs_utf (text, output);
 	else
 		latex_math_fputs_latin (text, output);
@@ -453,7 +453,7 @@ latex2e_write_file_header(GsfOutput *output)
 "%%  rendered correctly:                                             %%\n"
 );
 
-	if (gnm_app_prefs->latex_use_utf8)
+	if (gnm_conf_get_plugin_latex_use_utf8 ())
 		gsf_output_puts (output,
 "%%    \\usepackage{ucs}                                            %%\n"
 "%%    \\usepackage[utf8x]{inputenc}                                 %%\n"
@@ -507,7 +507,7 @@ latex2e_write_file_header(GsfOutput *output)
 		);
 
 
-	if (gnm_app_prefs->latex_use_utf8)
+	if (gnm_conf_get_plugin_latex_use_utf8 ())
 		gsf_output_puts (output,
 "       \\usepackage{ucs}\n"
 "       \\usepackage[utf8x]{inputenc}\n"



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