summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2016-11-07 16:33:01 +0100
committerBastien Nocera <hadess@hadess.net>2016-11-07 16:33:01 +0100
commit463d94d6022d3dd0acc8da8313ab10e01bfac7d9 (patch)
tree6a830f4da0b167d7ccc35bd0157dfb14e970437d
parent40bc6960318281cd21f379d2b3ba4da0ab33d0a7 (diff)
downloadgrilo-463d94d6022d3dd0acc8da8313ab10e01bfac7d9.tar.gz
core: Don't include private headers in introspection data
We should only use the C sources, not the private headers in the introspection, so as to avoid making private API available.
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 36934e4..35ddd64 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -130,7 +130,7 @@ INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir) --includedir=$(srcdir)/data
if HAVE_INTROSPECTION
introspection_sources = \
$(lib@GRL_NAME@inc_HEADERS) \
- $(lib@GRL_NAME@_la_SOURCES)
+ $(filter %.c,$(lib@GRL_NAME@_la_SOURCES))
Grl-@GRL_MAJORMINOR@.gir: lib@GRL_NAME@.la
Grl_@GRL_MAJORMINOR_NORM@_gir_INCLUDES = GObject-2.0 GModule-2.0 Gio-2.0