[gtksourceview/wip/chergert/gsv-gtk4: 20/192] build: remove use of HAVE_CONFIG_H
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/chergert/gsv-gtk4: 20/192] build: remove use of HAVE_CONFIG_H
- Date: Fri, 7 Aug 2020 18:31:04 +0000 (UTC)
commit 5f245010988191b8aa4624726ae27429f1f1fa3e
Author: Christian Hergert <chergert redhat com>
Date: Wed Jan 8 16:09:20 2020 -0800
build: remove use of HAVE_CONFIG_H
This is unnecessary because we always HAVE_CONFIG_H
gtksourceview/completion-providers/words/gtksourcecompletionwords.c | 4 +---
.../completion-providers/words/gtksourcecompletionwordsbuffer.c | 4 +---
.../completion-providers/words/gtksourcecompletionwordslibrary.c | 4 +---
.../completion-providers/words/gtksourcecompletionwordsproposal.c | 4 +---
.../completion-providers/words/gtksourcecompletionwordsutils.c | 4 +---
gtksourceview/gtksourcebuffer.c | 4 +---
gtksourceview/gtksourcebufferinputstream.c | 4 +---
gtksourceview/gtksourcebufferinternal.c | 4 +---
gtksourceview/gtksourcebufferoutputstream.c | 4 +---
gtksourceview/gtksourcecompletion.c | 4 +---
gtksourceview/gtksourcecompletioncontainer.c | 4 +---
gtksourceview/gtksourcecompletioncontext.c | 4 +---
gtksourceview/gtksourcecompletioninfo.c | 4 +---
gtksourceview/gtksourcecompletionitem.c | 4 +---
gtksourceview/gtksourcecompletionmodel.c | 4 +---
gtksourceview/gtksourcecompletionproposal.c | 4 +---
gtksourceview/gtksourcecompletionprovider.c | 4 +---
gtksourceview/gtksourcecontextengine.c | 4 +---
gtksourceview/gtksourceencoding.c | 4 +---
gtksourceview/gtksourceengine.c | 4 +---
gtksourceview/gtksourcefile.c | 4 +---
gtksourceview/gtksourcefileloader.c | 4 +---
gtksourceview/gtksourcefilesaver.c | 4 +---
gtksourceview/gtksourcegutter.c | 4 +---
gtksourceview/gtksourcegutterrenderer.c | 4 +---
gtksourceview/gtksourcegutterrendererlines.c | 4 +---
gtksourceview/gtksourcegutterrenderermarks.c | 4 +---
gtksourceview/gtksourcegutterrendererpixbuf.c | 4 +---
gtksourceview/gtksourcegutterrenderertext.c | 4 +---
gtksourceview/gtksourceinit.c | 4 +---
gtksourceview/gtksourceiter.c | 4 +---
gtksourceview/gtksourcelanguage-parser-2.c | 4 +---
gtksourceview/gtksourcelanguage.c | 4 +---
gtksourceview/gtksourcelanguagemanager.c | 4 +---
gtksourceview/gtksourcemap.c | 4 +---
gtksourceview/gtksourcemark.c | 4 +---
gtksourceview/gtksourcemarkattributes.c | 4 +---
gtksourceview/gtksourcemarkssequence.c | 4 +---
gtksourceview/gtksourcepixbufhelper.c | 4 +---
gtksourceview/gtksourceprintcompositor.c | 4 +---
gtksourceview/gtksourceregex.c | 4 +---
gtksourceview/gtksourceregion.c | 4 +---
gtksourceview/gtksourcesearchcontext.c | 4 +---
gtksourceview/gtksourcesearchsettings.c | 4 +---
gtksourceview/gtksourcespacedrawer.c | 4 +---
gtksourceview/gtksourcestyle.c | 4 +---
gtksourceview/gtksourcestylescheme.c | 4 +---
gtksourceview/gtksourcestyleschemechooser.c | 4 +---
gtksourceview/gtksourcestyleschemechooserbutton.c | 4 +---
gtksourceview/gtksourcestyleschemechooserwidget.c | 4 +---
gtksourceview/gtksourcestyleschememanager.c | 4 +---
gtksourceview/gtksourcetag.c | 4 +---
gtksourceview/gtksourceundomanager.c | 4 +---
gtksourceview/gtksourceundomanagerdefault.c | 4 +---
gtksourceview/gtksourceutils.c | 4 +---
gtksourceview/gtksourceversion.c | 4 +---
gtksourceview/gtksourceview.c | 4 +---
57 files changed, 57 insertions(+), 171 deletions(-)
---
diff --git a/gtksourceview/completion-providers/words/gtksourcecompletionwords.c
b/gtksourceview/completion-providers/words/gtksourcecompletionwords.c
index a6a2e53b1..548d1726a 100644
--- a/gtksourceview/completion-providers/words/gtksourcecompletionwords.c
+++ b/gtksourceview/completion-providers/words/gtksourcecompletionwords.c
@@ -29,9 +29,7 @@
* appearing in the registered #GtkTextBuffer<!-- -->s.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcecompletionwords.h"
#include <string.h>
diff --git a/gtksourceview/completion-providers/words/gtksourcecompletionwordsbuffer.c
b/gtksourceview/completion-providers/words/gtksourcecompletionwordsbuffer.c
index 693daa2c9..a03e03a9e 100644
--- a/gtksourceview/completion-providers/words/gtksourcecompletionwordsbuffer.c
+++ b/gtksourceview/completion-providers/words/gtksourcecompletionwordsbuffer.c
@@ -19,9 +19,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcecompletionwordsbuffer.h"
#include "gtksourcecompletionwordsutils.h"
diff --git a/gtksourceview/completion-providers/words/gtksourcecompletionwordslibrary.c
b/gtksourceview/completion-providers/words/gtksourcecompletionwordslibrary.c
index 0c4940515..3f39f8ac8 100644
--- a/gtksourceview/completion-providers/words/gtksourcecompletionwordslibrary.c
+++ b/gtksourceview/completion-providers/words/gtksourcecompletionwordslibrary.c
@@ -19,9 +19,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcecompletionwordslibrary.h"
diff --git a/gtksourceview/completion-providers/words/gtksourcecompletionwordsproposal.c
b/gtksourceview/completion-providers/words/gtksourcecompletionwordsproposal.c
index fbcc5d297..f69ab0606 100644
--- a/gtksourceview/completion-providers/words/gtksourcecompletionwordsproposal.c
+++ b/gtksourceview/completion-providers/words/gtksourcecompletionwordsproposal.c
@@ -18,9 +18,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcecompletionwordsproposal.h"
diff --git a/gtksourceview/completion-providers/words/gtksourcecompletionwordsutils.c
b/gtksourceview/completion-providers/words/gtksourcecompletionwordsutils.c
index c0a317ac6..c76d5583e 100644
--- a/gtksourceview/completion-providers/words/gtksourcecompletionwordsutils.c
+++ b/gtksourceview/completion-providers/words/gtksourcecompletionwordsutils.c
@@ -19,9 +19,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcecompletionwordsutils.h"
#include <string.h>
diff --git a/gtksourceview/gtksourcebuffer.c b/gtksourceview/gtksourcebuffer.c
index 8e7d507cb..bad12f1db 100644
--- a/gtksourceview/gtksourcebuffer.c
+++ b/gtksourceview/gtksourcebuffer.c
@@ -22,9 +22,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcebuffer.h"
#include "gtksourcebuffer-private.h"
diff --git a/gtksourceview/gtksourcebufferinputstream.c b/gtksourceview/gtksourcebufferinputstream.c
index 764ef378f..ec984607b 100644
--- a/gtksourceview/gtksourcebufferinputstream.c
+++ b/gtksourceview/gtksourcebufferinputstream.c
@@ -19,9 +19,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include <glib.h>
#include <gio/gio.h>
diff --git a/gtksourceview/gtksourcebufferinternal.c b/gtksourceview/gtksourcebufferinternal.c
index ca6632d82..08b826420 100644
--- a/gtksourceview/gtksourcebufferinternal.c
+++ b/gtksourceview/gtksourcebufferinternal.c
@@ -18,9 +18,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcebufferinternal.h"
#include "gtksourcebuffer.h"
diff --git a/gtksourceview/gtksourcebufferoutputstream.c b/gtksourceview/gtksourcebufferoutputstream.c
index 250ace206..32981ff95 100644
--- a/gtksourceview/gtksourcebufferoutputstream.c
+++ b/gtksourceview/gtksourcebufferoutputstream.c
@@ -19,9 +19,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcebufferoutputstream.h"
#include <string.h>
diff --git a/gtksourceview/gtksourcecompletion.c b/gtksourceview/gtksourcecompletion.c
index 63eb6be63..36043b8c4 100644
--- a/gtksourceview/gtksourcecompletion.c
+++ b/gtksourceview/gtksourcecompletion.c
@@ -97,9 +97,7 @@
* GtkSourceCompletionInfo for the main completion window.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcecompletion.h"
#include "gtksourcecompletion-private.h"
diff --git a/gtksourceview/gtksourcecompletioncontainer.c b/gtksourceview/gtksourcecompletioncontainer.c
index e28434b16..8b76bffb1 100644
--- a/gtksourceview/gtksourcecompletioncontainer.c
+++ b/gtksourceview/gtksourcecompletioncontainer.c
@@ -29,9 +29,7 @@
* limit.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcecompletioncontainer.h"
diff --git a/gtksourceview/gtksourcecompletioncontext.c b/gtksourceview/gtksourcecompletioncontext.c
index f78c60073..f3616c4f7 100644
--- a/gtksourceview/gtksourcecompletioncontext.c
+++ b/gtksourceview/gtksourcecompletioncontext.c
@@ -59,9 +59,7 @@
* #GtkTextBuffer with gtk_text_iter_get_buffer().
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcecompletioncontext.h"
#include "gtksource-enumtypes.h"
diff --git a/gtksourceview/gtksourcecompletioninfo.c b/gtksourceview/gtksourcecompletioninfo.c
index 362c84657..77f6582ff 100644
--- a/gtksourceview/gtksourcecompletioninfo.c
+++ b/gtksourceview/gtksourcecompletioninfo.c
@@ -55,9 +55,7 @@
* #GtkSourceCompletion machinery, you don't need to worry about this.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcecompletioninfo.h"
#include <glib/gi18n-lib.h>
diff --git a/gtksourceview/gtksourcecompletionitem.c b/gtksourceview/gtksourcecompletionitem.c
index b07b5c7c5..0b4054d6f 100644
--- a/gtksourceview/gtksourcecompletionitem.c
+++ b/gtksourceview/gtksourcecompletionitem.c
@@ -28,9 +28,7 @@
* #GtkSourceCompletionProposal interface.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcecompletionitem.h"
#include "gtksourcecompletionproposal.h"
diff --git a/gtksourceview/gtksourcecompletionmodel.c b/gtksourceview/gtksourcecompletionmodel.c
index 5588f59a7..4fb66cb06 100644
--- a/gtksourceview/gtksourcecompletionmodel.c
+++ b/gtksourceview/gtksourcecompletionmodel.c
@@ -19,9 +19,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcecompletionmodel.h"
#include <glib/gi18n-lib.h>
diff --git a/gtksourceview/gtksourcecompletionproposal.c b/gtksourceview/gtksourcecompletionproposal.c
index faa2dfdd0..6bd71bfd6 100644
--- a/gtksourceview/gtksourcecompletionproposal.c
+++ b/gtksourceview/gtksourcecompletionproposal.c
@@ -19,9 +19,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcecompletionproposal.h"
diff --git a/gtksourceview/gtksourcecompletionprovider.c b/gtksourceview/gtksourcecompletionprovider.c
index c31ec248d..9a3302cc2 100644
--- a/gtksourceview/gtksourcecompletionprovider.c
+++ b/gtksourceview/gtksourcecompletionprovider.c
@@ -19,9 +19,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcecompletionprovider.h"
#include "gtksourcecompletionproposal.h"
diff --git a/gtksourceview/gtksourcecontextengine.c b/gtksourceview/gtksourcecontextengine.c
index c31218e88..f7355ea69 100644
--- a/gtksourceview/gtksourcecontextengine.c
+++ b/gtksourceview/gtksourcecontextengine.c
@@ -19,9 +19,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcecontextengine.h"
#include <string.h>
diff --git a/gtksourceview/gtksourceencoding.c b/gtksourceview/gtksourceencoding.c
index 9c0ece9d6..6e73f4082 100644
--- a/gtksourceview/gtksourceencoding.c
+++ b/gtksourceview/gtksourceencoding.c
@@ -19,9 +19,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourceencoding.h"
#include "gtksourceencoding-private.h"
diff --git a/gtksourceview/gtksourceengine.c b/gtksourceview/gtksourceengine.c
index 77600d5dc..eb5832e9d 100644
--- a/gtksourceview/gtksourceengine.c
+++ b/gtksourceview/gtksourceengine.c
@@ -20,9 +20,7 @@
/* Interface for syntax highlighting engines. */
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourceengine.h"
#include "gtksourcestylescheme.h"
diff --git a/gtksourceview/gtksourcefile.c b/gtksourceview/gtksourcefile.c
index 1e58422ea..717f7138b 100644
--- a/gtksourceview/gtksourcefile.c
+++ b/gtksourceview/gtksourcefile.c
@@ -18,9 +18,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcefile.h"
#include "gtksourceencoding.h"
diff --git a/gtksourceview/gtksourcefileloader.c b/gtksourceview/gtksourcefileloader.c
index b9b584501..54e446be0 100644
--- a/gtksourceview/gtksourcefileloader.c
+++ b/gtksourceview/gtksourcefileloader.c
@@ -21,9 +21,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcefileloader.h"
#include <glib/gi18n-lib.h>
diff --git a/gtksourceview/gtksourcefilesaver.c b/gtksourceview/gtksourcefilesaver.c
index dad85ae34..9c29aaec6 100644
--- a/gtksourceview/gtksourcefilesaver.c
+++ b/gtksourceview/gtksourcefilesaver.c
@@ -21,9 +21,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcefilesaver.h"
#include <glib/gi18n-lib.h>
diff --git a/gtksourceview/gtksourcegutter.c b/gtksourceview/gtksourcegutter.c
index 015bb3618..dcf88fee5 100644
--- a/gtksourceview/gtksourcegutter.c
+++ b/gtksourceview/gtksourcegutter.c
@@ -18,9 +18,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcegutter.h"
#include "gtksourcegutter-private.h"
diff --git a/gtksourceview/gtksourcegutterrenderer.c b/gtksourceview/gtksourcegutterrenderer.c
index 9d31465ca..8ea50bc73 100644
--- a/gtksourceview/gtksourcegutterrenderer.c
+++ b/gtksourceview/gtksourcegutterrenderer.c
@@ -18,9 +18,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcegutterrenderer.h"
#include "gtksourcegutterrenderer-private.h"
diff --git a/gtksourceview/gtksourcegutterrendererlines.c b/gtksourceview/gtksourcegutterrendererlines.c
index 2d63d0df0..e2f23b0a5 100644
--- a/gtksourceview/gtksourcegutterrendererlines.c
+++ b/gtksourceview/gtksourcegutterrendererlines.c
@@ -18,9 +18,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcegutterrendererlines.h"
#include "gtksourceutils-private.h"
diff --git a/gtksourceview/gtksourcegutterrenderermarks.c b/gtksourceview/gtksourcegutterrenderermarks.c
index b85e65d5d..af7da0e33 100644
--- a/gtksourceview/gtksourcegutterrenderermarks.c
+++ b/gtksourceview/gtksourcegutterrenderermarks.c
@@ -18,9 +18,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcegutterrenderermarks.h"
#include "gtksourceview.h"
diff --git a/gtksourceview/gtksourcegutterrendererpixbuf.c b/gtksourceview/gtksourcegutterrendererpixbuf.c
index f79241117..8fcbbc559 100644
--- a/gtksourceview/gtksourcegutterrendererpixbuf.c
+++ b/gtksourceview/gtksourcegutterrendererpixbuf.c
@@ -18,9 +18,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcegutterrendererpixbuf.h"
#include "gtksourcepixbufhelper.h"
diff --git a/gtksourceview/gtksourcegutterrenderertext.c b/gtksourceview/gtksourcegutterrenderertext.c
index 4246ee9bc..2c413289e 100644
--- a/gtksourceview/gtksourcegutterrenderertext.c
+++ b/gtksourceview/gtksourcegutterrenderertext.c
@@ -18,9 +18,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcegutterrenderertext.h"
diff --git a/gtksourceview/gtksourceinit.c b/gtksourceview/gtksourceinit.c
index 269f3339a..f4f25c68f 100644
--- a/gtksourceview/gtksourceinit.c
+++ b/gtksourceview/gtksourceinit.c
@@ -18,9 +18,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourceinit.h"
#include <glib/gi18n-lib.h>
diff --git a/gtksourceview/gtksourceiter.c b/gtksourceview/gtksourceiter.c
index a66f76986..33c21f841 100644
--- a/gtksourceview/gtksourceiter.c
+++ b/gtksourceview/gtksourceiter.c
@@ -18,9 +18,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourceiter.h"
diff --git a/gtksourceview/gtksourcelanguage-parser-2.c b/gtksourceview/gtksourcelanguage-parser-2.c
index b9afd6cd4..1ef2a09c5 100644
--- a/gtksourceview/gtksourcelanguage-parser-2.c
+++ b/gtksourceview/gtksourcelanguage-parser-2.c
@@ -28,9 +28,7 @@
#define DEBUG(x)
#endif
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcebuffer.h"
#include "gtksourcelanguage.h"
diff --git a/gtksourceview/gtksourcelanguage.c b/gtksourceview/gtksourcelanguage.c
index 325a44d7b..0391c9fd2 100644
--- a/gtksourceview/gtksourcelanguage.c
+++ b/gtksourceview/gtksourcelanguage.c
@@ -18,9 +18,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>
diff --git a/gtksourceview/gtksourcelanguagemanager.c b/gtksourceview/gtksourcelanguagemanager.c
index bc829ab7a..bdee87c6e 100644
--- a/gtksourceview/gtksourcelanguagemanager.c
+++ b/gtksourceview/gtksourcelanguagemanager.c
@@ -18,9 +18,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcelanguagemanager.h"
diff --git a/gtksourceview/gtksourcemap.c b/gtksourceview/gtksourcemap.c
index de985c3f6..792776e03 100644
--- a/gtksourceview/gtksourcemap.c
+++ b/gtksourceview/gtksourcemap.c
@@ -17,9 +17,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcemap.h"
#include <string.h>
diff --git a/gtksourceview/gtksourcemark.c b/gtksourceview/gtksourcemark.c
index d546401c2..a3b3b8e41 100644
--- a/gtksourceview/gtksourcemark.c
+++ b/gtksourceview/gtksourcemark.c
@@ -18,9 +18,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcemark.h"
#include "gtksourcebuffer.h"
diff --git a/gtksourceview/gtksourcemarkattributes.c b/gtksourceview/gtksourcemarkattributes.c
index 3db79896f..57a1c03b7 100644
--- a/gtksourceview/gtksourcemarkattributes.c
+++ b/gtksourceview/gtksourcemarkattributes.c
@@ -19,9 +19,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcemarkattributes.h"
#include "gtksourcemark.h"
diff --git a/gtksourceview/gtksourcemarkssequence.c b/gtksourceview/gtksourcemarkssequence.c
index 37bc2cd0a..35a556621 100644
--- a/gtksourceview/gtksourcemarkssequence.c
+++ b/gtksourceview/gtksourcemarkssequence.c
@@ -18,9 +18,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcemarkssequence.h"
diff --git a/gtksourceview/gtksourcepixbufhelper.c b/gtksourceview/gtksourcepixbufhelper.c
index e6e40ca5d..a52d9f530 100644
--- a/gtksourceview/gtksourcepixbufhelper.c
+++ b/gtksourceview/gtksourcepixbufhelper.c
@@ -18,9 +18,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcepixbufhelper.h"
diff --git a/gtksourceview/gtksourceprintcompositor.c b/gtksourceview/gtksourceprintcompositor.c
index 2e5144d36..f152cfba5 100644
--- a/gtksourceview/gtksourceprintcompositor.c
+++ b/gtksourceview/gtksourceprintcompositor.c
@@ -22,9 +22,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include <string.h>
#include <time.h>
diff --git a/gtksourceview/gtksourceregex.c b/gtksourceview/gtksourceregex.c
index a6fad3636..7420437e8 100644
--- a/gtksourceview/gtksourceregex.c
+++ b/gtksourceview/gtksourceregex.c
@@ -19,9 +19,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourceregex.h"
#include <string.h>
diff --git a/gtksourceview/gtksourceregion.c b/gtksourceview/gtksourceregion.c
index 3a10505c8..c2ee094c9 100644
--- a/gtksourceview/gtksourceregion.c
+++ b/gtksourceview/gtksourceregion.c
@@ -19,9 +19,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourceregion.h"
diff --git a/gtksourceview/gtksourcesearchcontext.c b/gtksourceview/gtksourcesearchcontext.c
index 89093cc4d..ae90ec192 100644
--- a/gtksourceview/gtksourcesearchcontext.c
+++ b/gtksourceview/gtksourcesearchcontext.c
@@ -18,9 +18,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcesearchcontext.h"
#include <string.h>
diff --git a/gtksourceview/gtksourcesearchsettings.c b/gtksourceview/gtksourcesearchsettings.c
index 2abe60035..3834965ba 100644
--- a/gtksourceview/gtksourcesearchsettings.c
+++ b/gtksourceview/gtksourcesearchsettings.c
@@ -18,9 +18,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcesearchsettings.h"
diff --git a/gtksourceview/gtksourcespacedrawer.c b/gtksourceview/gtksourcespacedrawer.c
index 5064fbaf5..98ff77bf3 100644
--- a/gtksourceview/gtksourcespacedrawer.c
+++ b/gtksourceview/gtksourcespacedrawer.c
@@ -23,9 +23,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcespacedrawer.h"
#include "gtksourcespacedrawer-private.h"
diff --git a/gtksourceview/gtksourcestyle.c b/gtksourceview/gtksourcestyle.c
index fe1e49623..e35dbca73 100644
--- a/gtksourceview/gtksourcestyle.c
+++ b/gtksourceview/gtksourcestyle.c
@@ -18,9 +18,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcestyle.h"
#include "gtksourcestyle-private.h"
diff --git a/gtksourceview/gtksourcestylescheme.c b/gtksourceview/gtksourcestylescheme.c
index 86d973159..e37c625d8 100644
--- a/gtksourceview/gtksourcestylescheme.c
+++ b/gtksourceview/gtksourcestylescheme.c
@@ -18,9 +18,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcestylescheme.h"
#include <libxml/parser.h>
diff --git a/gtksourceview/gtksourcestyleschemechooser.c b/gtksourceview/gtksourcestyleschemechooser.c
index 8dea73551..56de962d5 100644
--- a/gtksourceview/gtksourcestyleschemechooser.c
+++ b/gtksourceview/gtksourcestyleschemechooser.c
@@ -18,9 +18,7 @@
* along with GtkSourceView. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcestyleschemechooser.h"
#include "gtksourcestylescheme.h"
diff --git a/gtksourceview/gtksourcestyleschemechooserbutton.c
b/gtksourceview/gtksourcestyleschemechooserbutton.c
index 8fad2d970..77d5d1b3f 100644
--- a/gtksourceview/gtksourcestyleschemechooserbutton.c
+++ b/gtksourceview/gtksourcestyleschemechooserbutton.c
@@ -19,9 +19,7 @@
* along with GtkSourceView. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcestyleschemechooserbutton.h"
#include <glib/gi18n-lib.h>
diff --git a/gtksourceview/gtksourcestyleschemechooserwidget.c
b/gtksourceview/gtksourcestyleschemechooserwidget.c
index 319e74e11..91025a356 100644
--- a/gtksourceview/gtksourcestyleschemechooserwidget.c
+++ b/gtksourceview/gtksourcestyleschemechooserwidget.c
@@ -19,9 +19,7 @@
* along with GtkSourceView. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcestyleschemechooserwidget.h"
#include "gtksourcestyleschemechooser.h"
diff --git a/gtksourceview/gtksourcestyleschememanager.c b/gtksourceview/gtksourcestyleschememanager.c
index 020fdb9a6..9a50c6b75 100644
--- a/gtksourceview/gtksourcestyleschememanager.c
+++ b/gtksourceview/gtksourcestyleschememanager.c
@@ -18,9 +18,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcestyleschememanager.h"
#include <string.h>
diff --git a/gtksourceview/gtksourcetag.c b/gtksourceview/gtksourcetag.c
index 2970e5ae0..38aa4c036 100644
--- a/gtksourceview/gtksourcetag.c
+++ b/gtksourceview/gtksourcetag.c
@@ -20,9 +20,7 @@
* Author: Sébastien Wilmet
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourcetag.h"
diff --git a/gtksourceview/gtksourceundomanager.c b/gtksourceview/gtksourceundomanager.c
index 6b8893f28..010aeab49 100644
--- a/gtksourceview/gtksourceundomanager.c
+++ b/gtksourceview/gtksourceundomanager.c
@@ -20,9 +20,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include <glib.h>
#include <stdlib.h>
diff --git a/gtksourceview/gtksourceundomanagerdefault.c b/gtksourceview/gtksourceundomanagerdefault.c
index 9f14d1f40..a19bb96a1 100644
--- a/gtksourceview/gtksourceundomanagerdefault.c
+++ b/gtksourceview/gtksourceundomanagerdefault.c
@@ -21,9 +21,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourceundomanagerdefault.h"
#include <string.h>
diff --git a/gtksourceview/gtksourceutils.c b/gtksourceview/gtksourceutils.c
index 7aa79d2f3..9024c6671 100644
--- a/gtksourceview/gtksourceutils.c
+++ b/gtksourceview/gtksourceutils.c
@@ -29,9 +29,7 @@
* Utility functions.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourceutils.h"
#include "gtksourceutils-private.h"
diff --git a/gtksourceview/gtksourceversion.c b/gtksourceview/gtksourceversion.c
index 6aea3c8fc..f6927492b 100644
--- a/gtksourceview/gtksourceversion.c
+++ b/gtksourceview/gtksourceversion.c
@@ -18,9 +18,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourceversion.h"
diff --git a/gtksourceview/gtksourceview.c b/gtksourceview/gtksourceview.c
index 78f87c677..734797cae 100644
--- a/gtksourceview/gtksourceview.c
+++ b/gtksourceview/gtksourceview.c
@@ -21,9 +21,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "config.h"
#include "gtksourceview.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]