Revision: 919 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=919&view=rev Author: frlan Date: 2009-09-07 19:00:22 +0000 (Mon, 07 Sep 2009)
Log Message: ----------- GeanyLaTeX: Remove some unused code
Modified Paths: -------------- trunk/geanylatex/src/geanylatex.c trunk/geanylatex/src/latexutils.c trunk/geanylatex/src/latexutils.h
Modified: trunk/geanylatex/src/geanylatex.c =================================================================== --- trunk/geanylatex/src/geanylatex.c 2009-09-05 14:46:23 UTC (rev 918) +++ trunk/geanylatex/src/geanylatex.c 2009-09-07 19:00:22 UTC (rev 919) @@ -1206,7 +1206,6 @@
g_key_file_free(config);
- glatex_init_encodings_latex();
menu_latex = gtk_menu_item_new_with_mnemonic(_("_LaTeX"));
Modified: trunk/geanylatex/src/latexutils.c =================================================================== --- trunk/geanylatex/src/latexutils.c 2009-09-05 14:46:23 UTC (rev 918) +++ trunk/geanylatex/src/latexutils.c 2009-09-07 19:00:22 UTC (rev 919) @@ -41,27 +41,3 @@ return result; }
-gchar *glatex_get_aux_file() -{ - GeanyDocument *doc = NULL; - gchar *locale_filename = NULL; - GString *tmp = NULL; - - doc = document_get_current(); - - if (doc != NULL) - { - if (doc->file_name != NULL) - { - locale_filename = utils_get_locale_from_utf8(doc->file_name); - tmp = g_string_new(locale_filename); - g_free(locale_filename); - utils_string_replace_all(tmp, ".tex", ".aux"); - - return g_string_free(tmp, FALSE); - } - } - - return NULL; -} -
Modified: trunk/geanylatex/src/latexutils.h =================================================================== --- trunk/geanylatex/src/latexutils.h 2009-09-05 14:46:23 UTC (rev 918) +++ trunk/geanylatex/src/latexutils.h 2009-09-07 19:00:22 UTC (rev 919) @@ -25,6 +25,4 @@
gchar **geanylatex_read_file_in_array(const gchar *filename);
-gchar *glatex_get_aux_file(); - #endif
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.