SF.net SVN: geany-plugins:[670] trunk/geanyvc/geanyvc.c

frlan at users.sourceforge.net frlan at xxxxx
Tue May 26 17:12:58 UTC 2009


Revision: 670
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=670&view=rev
Author:   frlan
Date:     2009-05-26 17:12:58 +0000 (Tue, 26 May 2009)

Log Message:
-----------
GeanyVC: fix a compiler warning in case of plugin is build without support for gtkspell. 

Modified Paths:
--------------
    trunk/geanyvc/geanyvc.c

Modified: trunk/geanyvc/geanyvc.c
===================================================================
--- trunk/geanyvc/geanyvc.c	2009-05-25 22:15:43 UTC (rev 669)
+++ trunk/geanyvc/geanyvc.c	2009-05-26 17:12:58 UTC (rev 670)
@@ -1854,7 +1854,10 @@
 static void
 load_config()
 {
+#ifdef USE_GTKSPELL
 	GError *error = NULL;
+#endif
+
 	GKeyFile *config = g_key_file_new();
 
 	g_key_file_load_from_file(config, config_file, G_KEY_FILE_NONE, NULL);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Plugins-Commits mailing list