Revision: 1455 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1455&view=re... Author: frlan Date: 2010-06-14 01:14:15 +0000 (Mon, 14 Jun 2010)
Log Message: ----------- GeanyLaTeX: Renmae a function to don't mix up camel case and captial letter
Modified Paths: -------------- trunk/geanylatex/src/geanylatex.c trunk/geanylatex/src/templates.c trunk/geanylatex/src/templates.h
Modified: trunk/geanylatex/src/geanylatex.c =================================================================== --- trunk/geanylatex/src/geanylatex.c 2010-06-14 01:08:27 UTC (rev 1454) +++ trunk/geanylatex/src/geanylatex.c 2010-06-14 01:14:15 UTC (rev 1455) @@ -1431,7 +1431,7 @@ code = glatex_get_template_from_file(tmp->filepath);
/* Cleaning up template array as there is no usage for anymore */ - g_ptr_array_foreach (glatex_wizard.template_list, (GFunc)glatex_free_TemplateEntry, NULL); + g_ptr_array_foreach (glatex_wizard.template_list, (GFunc)glatex_free_template_entry, NULL); g_ptr_array_free(glatex_wizard.template_list, TRUE); }
Modified: trunk/geanylatex/src/templates.c =================================================================== --- trunk/geanylatex/src/templates.c 2010-06-14 01:08:27 UTC (rev 1454) +++ trunk/geanylatex/src/templates.c 2010-06-14 01:14:15 UTC (rev 1455) @@ -83,7 +83,7 @@ }
/* Frees all elelements of struct */ -void glatex_free_TemplateEntry(TemplateEntry *template, G_GNUC_UNUSED gpointer *data){ +void glatex_free_template_entry(TemplateEntry *template, G_GNUC_UNUSED gpointer *data){ if (template->label != NULL) g_free(template->label); if (template->label != NULL)
Modified: trunk/geanylatex/src/templates.h =================================================================== --- trunk/geanylatex/src/templates.h 2010-06-14 01:08:27 UTC (rev 1454) +++ trunk/geanylatex/src/templates.h 2010-06-14 01:14:15 UTC (rev 1455) @@ -78,7 +78,7 @@ GString *glatex_get_template_from_file(gchar *filepath); GPtrArray *glatex_init_custom_templates(); GList *glatex_get_template_list_from_config_dir(); -void glatex_free_TemplateEntry(TemplateEntry *template, gpointer *data); +void glatex_free_template_entry(TemplateEntry *template, gpointer *data); void glatex_add_templates_to_combobox(GPtrArray *templates, GtkWidget *combobox);
#endif
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.