[gtksourceview] Include gtksourceview-typebuiltins.h in gtksource.h
- From: SĂŠbastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] Include gtksourceview-typebuiltins.h in gtksource.h
- Date: Wed, 19 Jun 2013 09:20:51 +0000 (UTC)
commit 024efd1e68a76c8048e4ecb2cb450e11f8c277d9
Author: SĂŠbastien Wilmet <swilmet gnome org>
Date: Fri Jun 14 15:00:53 2013 +0200
Include gtksourceview-typebuiltins.h in gtksource.h
Second try.
gtksourceview-typebuiltins.h is a public header, but is a generated
file.
https://bugzilla.gnome.org/show_bug.cgi?id=689104
gtksourceview/Makefile.am | 2 +-
gtksourceview/gtksource.h | 1 +
tests/test-widget.c | 1 -
3 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtksourceview/Makefile.am b/gtksourceview/Makefile.am
index 53cdbef..4482cd9 100644
--- a/gtksourceview/Makefile.am
+++ b/gtksourceview/Makefile.am
@@ -218,7 +218,7 @@ if HAVE_INTROSPECTION
-include $(INTROSPECTION_MAKEFILE)
INTROSPECTION_GIRS = GtkSource-3.0.gir
-GtkSource-3.0.gir: libgtksourceview-3.0.la
+GtkSource-3.0.gir: libgtksourceview-3.0.la $(BUILT_SOURCES)
INTROSPECTION_SCANNER_ARGS = \
-I$(top_srcdir) \
--c-include=gtksourceview/gtksource.h \
diff --git a/gtksourceview/gtksource.h b/gtksourceview/gtksource.h
index 2ca35bc..31a5919 100644
--- a/gtksourceview/gtksource.h
+++ b/gtksourceview/gtksource.h
@@ -42,5 +42,6 @@
#include <gtksourceview/gtksourcestyleschememanager.h>
#include <gtksourceview/gtksourceundomanager.h>
#include <gtksourceview/gtksourceview.h>
+#include <gtksourceview/gtksourceview-typebuiltins.h>
#endif /* __GTK_SOURCE_H__ */
diff --git a/tests/test-widget.c b/tests/test-widget.c
index 965e783..535d877 100644
--- a/tests/test-widget.c
+++ b/tests/test-widget.c
@@ -31,7 +31,6 @@
#include <gtk/gtk.h>
#include <gio/gio.h>
#include <gtksourceview/gtksource.h>
-#include "gtksourceview/gtksourceview-typebuiltins.h"
#ifdef TEST_XML_MEM
#include <libxml/xmlreader.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]