From 106d4e98f529de44a923f32bf9d1eba9c33b1c53 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Tue, 19 Jan 2016 11:15:58 +0100 Subject: [PATCH] g-i: fix init section to avoid compiler warnings --- ges/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ges/Makefile.am b/ges/Makefile.am index 122324654e..4cd18a83b6 100644 --- a/ges/Makefile.am +++ b/ges/Makefile.am @@ -206,8 +206,8 @@ GES-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libges-@GST_API_VERSION@.la --pkg gstreamer-controller-@GST_API_VERSION@ \ --pkg gio-2.0 \ --pkg-export ges-@GST_API_VERSION@ \ - --add-init-section="gst_init(NULL, NULL);" \ - --add-init-section="ges_init(NULL, NULL);" \ + --add-init-section="$(INTROSPECTION_INIT)" \ + --add-init-section="extern gboolean ges_init(void); ges_init();" \ --output $@ \ $(gir_headers) \ $(gir_sources)