From e317a350bc727ba7038832a19b0b0b80e294d518 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 19 Jan 2016 08:39:58 +0000 Subject: [PATCH] libs: g-i: fix init section to avoid compiler warnings MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit ..GstPlayer-1.0.c: In function ‘main’: ..GstPlayer-1.0.c:587:3: warning: implicit declaration of function ‘gst_init’ https://bugzilla.gnome.org/show_bug.cgi?id=760090 --- gst-libs/gst/gl/Makefile.am | 2 +- gst-libs/gst/insertbin/Makefile.am | 2 +- gst-libs/gst/mpegts/Makefile.am | 2 +- gst-libs/gst/player/Makefile.am | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gst-libs/gst/gl/Makefile.am b/gst-libs/gst/gl/Makefile.am index fcf788f..46df5cd 100644 --- a/gst-libs/gst/gl/Makefile.am +++ b/gst-libs/gst/gl/Makefile.am @@ -168,7 +168,7 @@ GstGL-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstgl-@GST_API_VERSION@ --pkg gstreamer-base-@GST_API_VERSION@ \ --pkg gstreamer-video-@GST_API_VERSION@ \ --pkg-export gstreamer-gl-@GST_API_VERSION@ \ - --add-init-section="gst_init(NULL,NULL);" \ + --add-init-section="$(INTROSPECTION_INIT)" \ -DGST_USE_UNSTABLE_API \ --output $@ \ $(gir_headers) \ diff --git a/gst-libs/gst/insertbin/Makefile.am b/gst-libs/gst/insertbin/Makefile.am index d4d331c..8368f41 100644 --- a/gst-libs/gst/insertbin/Makefile.am +++ b/gst-libs/gst/insertbin/Makefile.am @@ -48,7 +48,7 @@ GstInsertBin-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstinsertbin-@GS --pkg gstreamer-@GST_API_VERSION@ \ --pkg gstreamer-base-@GST_API_VERSION@ \ --pkg-export gstreamer-insertbin-@GST_API_VERSION@ \ - --add-init-section="gst_init(NULL,NULL);" \ + --add-init-section="$(INTROSPECTION_INIT)" \ -DGST_USE_UNSTABLE_API \ --output $@ \ $(gir_headers) \ diff --git a/gst-libs/gst/mpegts/Makefile.am b/gst-libs/gst/mpegts/Makefile.am index 2511d49..cd8b8ad 100644 --- a/gst-libs/gst/mpegts/Makefile.am +++ b/gst-libs/gst/mpegts/Makefile.am @@ -82,7 +82,7 @@ GstMpegts-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstmpegts-@GST_API_ --pkg gstreamer-@GST_API_VERSION@ \ --pkg gstreamer-video-@GST_API_VERSION@ \ --pkg-export gstreamer-mpegts-@GST_API_VERSION@ \ - --add-init-section="gst_init(NULL,NULL);" \ + --add-init-section="$(INTROSPECTION_INIT)" \ -DGST_USE_UNSTABLE_API \ --output $@ \ $(gir_headers) \ diff --git a/gst-libs/gst/player/Makefile.am b/gst-libs/gst/player/Makefile.am index 60e8ecf..4769fa8 100644 --- a/gst-libs/gst/player/Makefile.am +++ b/gst-libs/gst/player/Makefile.am @@ -76,7 +76,7 @@ GstPlayer-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstplayer-@GST_API_ --pkg gstreamer-tag-@GST_API_VERSION@ \ --pkg gstreamer-pbutils-@GST_API_VERSION@ \ --pkg-export gstreamer-player-@GST_API_VERSION@ \ - --add-init-section="gst_init(NULL,NULL);" \ + --add-init-section="$(INTROSPECTION_INIT)" \ --output $@ \ $(gir_headers) \ $(gir_sources) -- 2.7.4