SF.net SVN: geany-plugins:[823] trunk/geany-plugins/spellcheck

eht16 at users.sourceforge.net eht16 at xxxxx
Thu Jul 16 17:55:29 UTC 2009


Revision: 823
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=823&view=rev
Author:   eht16
Date:     2009-07-16 17:55:29 +0000 (Thu, 16 Jul 2009)

Log Message:
-----------
Use single header includes.
Use the global version macro to set the plugin's version.

Modified Paths:
--------------
    trunk/geany-plugins/spellcheck/ChangeLog
    trunk/geany-plugins/spellcheck/src/gui.c
    trunk/geany-plugins/spellcheck/src/scplugin.c
    trunk/geany-plugins/spellcheck/src/speller.c

Modified: trunk/geany-plugins/spellcheck/ChangeLog
===================================================================
--- trunk/geany-plugins/spellcheck/ChangeLog	2009-07-15 17:55:00 UTC (rev 822)
+++ trunk/geany-plugins/spellcheck/ChangeLog	2009-07-16 17:55:29 UTC (rev 823)
@@ -1,3 +1,10 @@
+2009-07-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
+
+ * src/gui.c, src/scplugin.c, src/speller.c:
+   Use single header includes.
+   Use the global version macro to set the plugin's version.
+
+
 2009-06-28  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
 
  * src/gui.c:

Modified: trunk/geany-plugins/spellcheck/src/gui.c
===================================================================
--- trunk/geany-plugins/spellcheck/src/gui.c	2009-07-15 17:55:00 UTC (rev 822)
+++ trunk/geany-plugins/spellcheck/src/gui.c	2009-07-16 17:55:29 UTC (rev 823)
@@ -23,22 +23,12 @@
  */
 
 
-#include "geany.h"
-#include "support.h"
+#include "geanyplugin.h"
 
 #include <ctype.h>
 #include <string.h>
 
-#include "plugindata.h"
 
-#include "document.h"
-#include "editor.h"
-#include "msgwindow.h"
-#include "utils.h"
-#include "ui_utils.h"
-
-#include "geanyfunctions.h"
-
 #include "gui.h"
 #include "scplugin.h"
 #include "speller.h"

Modified: trunk/geany-plugins/spellcheck/src/scplugin.c
===================================================================
--- trunk/geany-plugins/spellcheck/src/scplugin.c	2009-07-15 17:55:00 UTC (rev 822)
+++ trunk/geany-plugins/spellcheck/src/scplugin.c	2009-07-16 17:55:29 UTC (rev 823)
@@ -23,28 +23,14 @@
  */
 
 
-#include "geany.h"
-#include "support.h"
+#include "geanyplugin.h"
 
-#ifdef HAVE_LOCALE_H
-# include <locale.h>
-#endif
-
 /*
 #ifdef G_OS_WIN32
 # include <windows.h>
 #endif
 */
 
-#include "plugindata.h"
-
-#include "keybindings.h"
-#include "utils.h"
-#include "ui_utils.h"
-#include "filetypes.h"
-
-#include "geanyfunctions.h"
-
 #include "scplugin.h"
 #include "gui.h"
 #include "speller.h"
@@ -55,8 +41,8 @@
 GeanyFunctions	*geany_functions;
 
 
-PLUGIN_VERSION_CHECK(132)
-PLUGIN_SET_INFO(_("Spell Check"), _("Checks the spelling of the current document."), "0.4",
+PLUGIN_VERSION_CHECK(147);
+PLUGIN_SET_INFO(_("Spell Check"), _("Checks the spelling of the current document."), VERSION,
 			_("The Geany developer team"))
 
 

Modified: trunk/geany-plugins/spellcheck/src/speller.c
===================================================================
--- trunk/geany-plugins/spellcheck/src/speller.c	2009-07-15 17:55:00 UTC (rev 822)
+++ trunk/geany-plugins/spellcheck/src/speller.c	2009-07-16 17:55:29 UTC (rev 823)
@@ -23,24 +23,14 @@
  */
 
 
-#include "geany.h"
-#include "support.h"
+#include "geanyplugin.h"
 
+#include "scintilla/SciLexer.h"
+
 #include <string.h>
 #include <ctype.h>
 #include <enchant.h>
 
-#include "plugindata.h"
-
-#include "document.h"
-#include "editor.h"
-#include "msgwindow.h"
-#include "utils.h"
-#include "ui_utils.h"
-#include "scintilla/SciLexer.h"
-
-#include "geanyfunctions.h"
-
 #include "speller.h"
 #include "scplugin.h"
 


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