[gedit/wip/spell-checking: 1/3] spell: include config.h only when needed



commit ec817966249f2ad535e111da87570e517b7474ca
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Fri Jul 17 14:04:11 2015 +0200

    spell: include config.h only when needed
    
    https://bugzilla.gnome.org/show_bug.cgi?id=640449

 plugins/spell/gedit-automatic-spell-checker.c |    4 ----
 plugins/spell/gedit-spell-checker-dialog.c    |    4 ----
 plugins/spell/gedit-spell-language-dialog.c   |    4 ----
 plugins/spell/gedit-spell-plugin.c            |    4 ----
 4 files changed, 0 insertions(+), 16 deletions(-)
---
diff --git a/plugins/spell/gedit-automatic-spell-checker.c b/plugins/spell/gedit-automatic-spell-checker.c
index 8f3d18f..f970331 100644
--- a/plugins/spell/gedit-automatic-spell-checker.c
+++ b/plugins/spell/gedit-automatic-spell-checker.c
@@ -23,10 +23,6 @@
  * Copyright (c) 2002 Evan Martin.
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 #include "gedit-automatic-spell-checker.h"
 #include <string.h>
 #include <glib/gi18n.h>
diff --git a/plugins/spell/gedit-spell-checker-dialog.c b/plugins/spell/gedit-spell-checker-dialog.c
index b6cacb2..cc79b0c 100644
--- a/plugins/spell/gedit-spell-checker-dialog.c
+++ b/plugins/spell/gedit-spell-checker-dialog.c
@@ -18,10 +18,6 @@
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 #include "gedit-spell-checker-dialog.h"
 #include <string.h>
 #include <glib/gi18n.h>
diff --git a/plugins/spell/gedit-spell-language-dialog.c b/plugins/spell/gedit-spell-language-dialog.c
index dcbdb3e..2a1c0a7 100644
--- a/plugins/spell/gedit-spell-language-dialog.c
+++ b/plugins/spell/gedit-spell-language-dialog.c
@@ -18,10 +18,6 @@
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 #include "gedit-spell-language-dialog.h"
 #include <glib/gi18n.h>
 #include <gtk/gtk.h>
diff --git a/plugins/spell/gedit-spell-plugin.c b/plugins/spell/gedit-spell-plugin.c
index 54c71e5..e663aa7 100644
--- a/plugins/spell/gedit-spell-plugin.c
+++ b/plugins/spell/gedit-spell-plugin.c
@@ -17,10 +17,6 @@
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 #include "gedit-spell-plugin.h"
 
 #include <glib/gi18n.h>


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