[grilo] core: Don't include private headers in introspection data
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo] core: Don't include private headers in introspection data
- Date: Mon, 7 Nov 2016 15:43:31 +0000 (UTC)
commit 463d94d6022d3dd0acc8da8313ab10e01bfac7d9
Author: Bastien Nocera <hadess hadess net>
Date: Mon Nov 7 16:33:01 2016 +0100
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.
src/Makefile.am | 2 +-
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]