[gspell/wip/gspell-init] init: small fixes



commit cb42e8faf40d5084d1a4d5e7f1c02d2bb0bc658f
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sat Mar 26 11:06:05 2016 +0100

    init: small fixes

 gspell/Makefile.am       |    4 ++--
 gspell/gspell-init.c     |    9 +--------
 gspell/gspell-language.c |    2 +-
 3 files changed, 4 insertions(+), 11 deletions(-)
---
diff --git a/gspell/Makefile.am b/gspell/Makefile.am
index 4803e6c..5752db7 100644
--- a/gspell/Makefile.am
+++ b/gspell/Makefile.am
@@ -43,11 +43,11 @@ gspell_public_c_files =                             \
 
 gspell_private_headers =                       \
        gconstructor.h                          \
+       gspell-init.h                           \
        gspell-inline-checker-text-buffer.h     \
        gspell-text-iter.h                      \
        gspell-text-region.h                    \
-       gspell-utils.h                          \
-       gspell-init.h
+       gspell-utils.h
 
 gspell_private_c_files =                       \
        gspell-init.c                           \
diff --git a/gspell/gspell-init.c b/gspell/gspell-init.c
index 5a88c85..c805472 100644
--- a/gspell/gspell-init.c
+++ b/gspell/gspell-init.c
@@ -24,17 +24,10 @@
  */
 
 #include "config.h"
+#include "gspell-init.h"
 #include <glib.h>
 #include <glib/gi18n-lib.h>
 #include "gconstructor.h"
-#include "gspell-init.h"
-
-#ifdef G_OS_WIN32
-#define WIN32_LEAN_AND_MEAN
-#include <windows.h>
-
-HMODULE gspell_dll;
-#endif /* G_OS_WIN32 */
 
 #ifdef OS_OSX
 #include <Cocoa/Cocoa.h>
diff --git a/gspell/gspell-language.c b/gspell/gspell-language.c
index b18c144..2eab9e2 100644
--- a/gspell/gspell-language.c
+++ b/gspell/gspell-language.c
@@ -21,10 +21,10 @@
 
 #include "config.h"
 #include "gspell-language.h"
-#include "gspell-init.h"
 #include <string.h>
 #include <glib/gi18n-lib.h>
 #include <enchant.h>
+#include "gspell-init.h"
 
 #ifdef OS_OSX
 #include "gspell-osx.h"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]