Revision: 1244 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1244&view=re... Author: frlan Date: 2010-04-14 19:21:35 +0000 (Wed, 14 Apr 2010)
Log Message: ----------- GeanyLaTeX: Fix a compiler warning
Modified Paths: -------------- trunk/geanylatex/src/latexutils.c trunk/geanylatex/src/latexutils.h
Modified: trunk/geanylatex/src/latexutils.c =================================================================== --- trunk/geanylatex/src/latexutils.c 2010-04-14 19:06:24 UTC (rev 1243) +++ trunk/geanylatex/src/latexutils.c 2010-04-14 19:21:35 UTC (rev 1244) @@ -68,7 +68,7 @@ /* Building up package string and inserting it */ if (NZV(options)) { - packagestring = g_strconcat("\usepackage[", options, + packagestring = g_strconcat("\usepackage[", options, "]{", pkg, "}\n", NULL); } else @@ -92,7 +92,7 @@ }
-void glatex_enter_key_pressed_in_entry(GtkWidget *widget, gpointer dialog ) +void glatex_enter_key_pressed_in_entry(G_GNUC_UNUSED GtkWidget *widget, gpointer dialog ) { gtk_dialog_response(GTK_DIALOG(dialog), GTK_RESPONSE_ACCEPT); }
Modified: trunk/geanylatex/src/latexutils.h =================================================================== --- trunk/geanylatex/src/latexutils.h 2010-04-14 19:06:24 UTC (rev 1243) +++ trunk/geanylatex/src/latexutils.h 2010-04-14 19:21:35 UTC (rev 1244) @@ -27,6 +27,6 @@
void glatex_usepackage(const gchar *pkg, const gchar *options);
-void glatex_enter_key_pressed_in_entry(GtkWidget *widget, gpointer dialog); +void glatex_enter_key_pressed_in_entry(G_GNUC_UNUSED GtkWidget *widget, gpointer dialog);
#endif
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.