[gtksourceview/wip/chergert/gsv-gtk4: 3/3] 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: 3/3] build: remove use of HAVE_CONFIG_H
- Date: Thu, 9 Jan 2020 00:11:50 +0000 (UTC)
commit 273c45f3d8e26c1a4808f08adfa975831167a1b3
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 a6a2e53b..548d1726 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 693daa2c..a03e03a9 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 0c494051..3f39f8ac 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 fbcc5d29..f69ab060 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 c0a317ac..c76d5583 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 8e7d507c..bad12f1d 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 764ef378..ec984607 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 ca6632d8..08b82642 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 250ace20..32981ff9 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 0cc103dc..34ba506b 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 53567ee7..6f229f8f 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 f78c6007..f3616c4f 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 9d0ffbd3..29414f10 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 b07b5c7c..0b4054d6 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 5588f59a..4fb66cb0 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 faa2dfdd..6bd71bfd 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 c31ec248..9a3302cc 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 c31218e8..f7355ea6 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 9c0ece9d..6e73f408 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 77600d5d..eb5832e9 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 1e58422e..717f7138 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 b9b58450..54e446be 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 dad85ae3..9c29aaec 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 015bb361..dcf88fee 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 9d31465c..8ea50bc7 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 2d63d0df..e2f23b0a 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 b85e65d5..af7da0e3 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 f7924111..8fcbbc55 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 4246ee9b..2c413289 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 269f3339..f4f25c68 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 a66f7698..33c21f84 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 ed4fe68a..88c47ca5 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 325a44d7..0391c9fd 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 bc829ab7..bdee87c6 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 de985c3f..792776e0 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 d546401c..a3b3b8e4 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 3db79896..57a1c03b 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 37bc2cd0..35a55662 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 e6e40ca5..a52d9f53 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 2e5144d3..f152cfba 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 a6fad363..7420437e 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 3a10505c..c2ee094c 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 89093cc4..ae90ec19 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 2abe6003..3834965b 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 8633fc51..1f00c1d2 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 fe1e4962..e35dbca7 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 86d97315..e37c625d 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 8dea7355..56de962d 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 8fad2d97..77d5d1b3 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 319e74e1..91025a35 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 a3b3d101..7f462ebd 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 2970e5ae..38aa4c03 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 6b8893f2..010aeab4 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 9f14d1f4..a19bb96a 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 7aa79d2f..9024c667 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 6aea3c8f..f6927492 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 b9446439..089caefc 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]