summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2016-06-18 16:37:42 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2016-06-18 16:37:42 +0100
commita559637b7c756013d990e1007da619b3442815d1 (patch)
treef4c12627b182551c2885146e6808192aa5d57823
parentea555341daf3060b4e1beefa805a020b75ef6ef8 (diff)
downloadclutter-gst-a559637b7c756013d990e1007da619b3442815d1.tar.gz
build: Avoid warning when generating introspection data
We need to declare gst_init() before using it.
-rw-r--r--clutter-gst/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/clutter-gst/Makefile.am b/clutter-gst/Makefile.am
index 63bb37a..b09eb40 100644
--- a/clutter-gst/Makefile.am
+++ b/clutter-gst/Makefile.am
@@ -155,7 +155,7 @@ ClutterGst-@CLUTTER_GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libclutter-gs
--include=GstVideo-1.0 \
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-audio-1.0` \
--include=GstAudio-1.0 \
- --add-init-section="gst_init(0,NULL);" \
+ --add-init-section="extern void gst_init (int *argc, char *argv[]); gst_init(0,NULL);" \
--library=libclutter-gst-@CLUTTER_GST_API_VERSION@.la \
--libtool="${LIBTOOL}" \
--output $@ \