[gtksourceview] Use Glib single includes
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] Use Glib single includes
- Date: Fri, 12 Mar 2010 23:18:38 +0000 (UTC)
commit f977988dca83dd2be1cd851bcd3958bb1dc8538f
Author: Javier Jardón <jjardon gnome org>
Date: Fri Mar 12 19:52:37 2010 +0100
Use Glib single includes
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=563786
.../words/gtksourcecompletionwordsbuffer.c | 2 +-
gtksourceview/gtksourcecontextengine.c | 4 +++-
gtksourceview/gtksourcelanguage-parser-2.c | 16 +++++++++-------
3 files changed, 13 insertions(+), 9 deletions(-)
---
diff --git a/gtksourceview/completion-providers/words/gtksourcecompletionwordsbuffer.c b/gtksourceview/completion-providers/words/gtksourcecompletionwordsbuffer.c
index f8ea30b..675736d 100644
--- a/gtksourceview/completion-providers/words/gtksourcecompletionwordsbuffer.c
+++ b/gtksourceview/completion-providers/words/gtksourcecompletionwordsbuffer.c
@@ -23,7 +23,7 @@
#include "gtksourcecompletionwordsbuffer.h"
#include "gtksourcecompletionwordsutils.h"
-#include <glib/gprintf.h>
+#include <glib.h>
#define GTK_SOURCE_COMPLETION_WORDS_BUFFER_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE((object), GTK_TYPE_SOURCE_COMPLETION_WORDS_BUFFER, GtkSourceCompletionWordsBufferPrivate))
diff --git a/gtksourceview/gtksourcecontextengine.c b/gtksourceview/gtksourcecontextengine.c
index aed4d2a..4308254 100644
--- a/gtksourceview/gtksourcecontextengine.c
+++ b/gtksourceview/gtksourcecontextengine.c
@@ -25,7 +25,9 @@
#include "gtksourcelanguage-private.h"
#include "gtksourcebuffer.h"
#include "gtksourcestyle-private.h"
-#include <glib/gregex.h>
+
+#include <glib.h>
+
#include <errno.h>
#include <string.h>
diff --git a/gtksourceview/gtksourcelanguage-parser-2.c b/gtksourceview/gtksourcelanguage-parser-2.c
index 25b4e18..8592af1 100644
--- a/gtksourceview/gtksourcelanguage-parser-2.c
+++ b/gtksourceview/gtksourcelanguage-parser-2.c
@@ -32,6 +32,15 @@
#define DEBUG(x)
#endif
+#include "gtksourceview-i18n.h"
+#include "gtksourcebuffer.h"
+#include "gtksourcelanguage.h"
+#include "gtksourcelanguage-private.h"
+#include "gtksourcecontextengine.h"
+
+#include <glib.h>
+#include <glib/gstdio.h>
+
#include <string.h>
#include <fcntl.h>
#ifdef HAVE_UNISTD_H
@@ -41,13 +50,6 @@
#include <io.h>
#endif
#include <libxml/xmlreader.h>
-#include <glib/gstdio.h>
-#include "gtksourceview-i18n.h"
-#include "gtksourcebuffer.h"
-#include "gtksourcelanguage.h"
-#include "gtksourcelanguage-private.h"
-#include "gtksourcecontextengine.h"
-#include <glib/gregex.h>
#define PARSER_ERROR (parser_error_quark ())
#define ATTR_NO_STYLE ""
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]