[gtksourceview] Do not introspect private headers and symbols.



commit 1aef5cda90cdbb17ff3ec477835b7850936385be
Author: Steve Frécinaux <code istique net>
Date:   Mon May 31 11:20:48 2010 +0200

    Do not introspect private headers and symbols.
    
    Previously, private objects were introspected and made available from
    language bindings, which is not desirable as we don't guarantee they
    have a stable API.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=620149

 gtksourceview/Makefile.am |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/gtksourceview/Makefile.am b/gtksourceview/Makefile.am
index be010d4..64675fa 100644
--- a/gtksourceview/Makefile.am
+++ b/gtksourceview/Makefile.am
@@ -56,7 +56,7 @@ NOINST_H_FILES = \
 	gtktextregion.h			\
 	gseal-gtk-compat.h
 
-libgtksourceview_2_0_la_SOURCES = 	\
+libgtksourceview_c_files = \
 	gtksourcebuffer.c 		\
 	gtksourceiter.c			\
 	gtksourceview.c 		\
@@ -84,7 +84,10 @@ libgtksourceview_2_0_la_SOURCES = 	\
 	gtksourcecompletionprovider.c	\
 	gtksourcecompletionmodel.c	\
 	gtksourcecompletionutils.c	\
-	gtksourcecompletioncontext.c 	\
+	gtksourcecompletioncontext.c
+
+libgtksourceview_2_0_la_SOURCES = 	\
+	$(libgtksourceview_c_files)	\
 	$(libgtksourceview_headers)	\
 	$(NOINST_H_FILES)
 
@@ -156,7 +159,7 @@ INTROSPECTION_SCANNER_ARGS = -I$(top_srcdir)
 GtkSource_2_0_gir_NAMESPACE = GtkSource
 GtkSource_2_0_gir_VERSION = 2.0
 GtkSource_2_0_gir_LIBS = libgtksourceview-2.0.la
-GtkSource_2_0_gir_FILES = $(libgtksourceview_2_0_la_SOURCES)
+GtkSource_2_0_gir_FILES = $(libgtksourceview_headers) $(libgtksourceview_c_files)
 GtkSource_2_0_gir_INCLUDES = $(GTK_TYPELIB)
 GtkSource_2_0_gir_PACKAGES = gtksourceview-2.0
 girdir = $(INTROSPECTION_GIRDIR)



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