Revision: 943 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=943&view=rev Author: eht16 Date: 2009-09-20 19:17:32 +0000 (Sun, 20 Sep 2009)
Log Message: ----------- Remove more unused code.
Modified Paths: -------------- trunk/geany-plugins/spellcheck/ChangeLog trunk/geany-plugins/spellcheck/src/scplugin.c
Modified: trunk/geany-plugins/spellcheck/ChangeLog =================================================================== --- trunk/geany-plugins/spellcheck/ChangeLog 2009-09-20 16:10:16 UTC (rev 942) +++ trunk/geany-plugins/spellcheck/ChangeLog 2009-09-20 19:17:32 UTC (rev 943) @@ -1,3 +1,9 @@ +2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de> + + * src/scplugin.c: + Remove more unused code. + + 2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/gui.c:
Modified: trunk/geany-plugins/spellcheck/src/scplugin.c =================================================================== --- trunk/geany-plugins/spellcheck/src/scplugin.c 2009-09-20 16:10:16 UTC (rev 942) +++ trunk/geany-plugins/spellcheck/src/scplugin.c 2009-09-20 19:17:32 UTC (rev 943) @@ -25,11 +25,6 @@
#include "geanyplugin.h"
-/* -#ifdef G_OS_WIN32 -# include <windows.h> -#endif -*/
#include "scplugin.h" #include "gui.h" @@ -69,29 +64,6 @@ };
-/* currently unused */ -#ifdef G_OS_WIN32 -#warning TODO check Windows support -/* On Windows we need to find the Aspell installation prefix via the Windows Registry - * and then set the prefix in the Aspell config object. */ -static void set_up_aspell_prefix(AspellConfig *config) -{ - char sTemp[1024]; - HKEY hkey; - DWORD len = sizeof(sTemp); - - if (RegOpenKeyEx(HKEY_LOCAL_MACHINE, TEXT("SOFTWARE\Aspell"), 0, - KEY_QUERY_VALUE, &hkey) != ERROR_SUCCESS) - return; - - if (RegQueryValueEx(hkey, NULL, 0, NULL, (LPBYTE)sTemp, &len) == ERROR_SUCCESS) - aspell_config_replace(config, "prefix", sTemp); - - RegCloseKey(hkey); -} -#endif - - static void configure_response_cb(GtkDialog *dialog, gint response, gpointer user_data) { if (response == GTK_RESPONSE_OK || response == GTK_RESPONSE_APPLY)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org