GI: Include the right sources when building introspection

We forgot to include the sources. Also, we rename the valgrind header
to -private to avoid gtk-doc blowing its mind trying to parse it.

Closes: #1729
Approved by: alexlarsson
This commit is contained in:
Alexander Larsson 2018-05-29 09:38:01 +02:00 committed by Atomic Bot
parent 39e64d1f1e
commit 3cf77f3aa9
3 changed files with 4 additions and 2 deletions

View File

@ -112,7 +112,7 @@ libflatpak_common_la_SOURCES = \
common/flatpak-remote.c \
common/flatpak-error.c \
common/flatpak-installation.c \
common/valgrind.h \
common/valgrind-private.h \
$(NULL)
libflatpak_common_la_CFLAGS = \
@ -183,6 +183,8 @@ test_libflatpak_LDADD = \
# gobject-introspection rules
-include $(INTROSPECTION_MAKEFILE)
sources = $(libflatpak_common_la_SOURCES) $(libflatpak_la_SOURCES)
INTROSPECTION_GIRS =
if HAVE_INTROSPECTION

View File

@ -25,7 +25,7 @@
#include "flatpak-dir-private.h"
#include "flatpak-oci-registry-private.h"
#include "flatpak-run-private.h"
#include "valgrind.h"
#include "valgrind-private.h"
#include <glib/gi18n.h>