gi: Use INTROSPECTION_INIT for --add-init-section
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Tue, 16 Jun 2015 22:04:57 +0000 (18:04 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Tue, 16 Jun 2015 22:04:57 +0000 (18:04 -0400)
This new define was added to common. The new init section fixed
compilation warning found in the init line that was spread across
all files.

gst-libs/gst/app/Makefile.am
gst-libs/gst/audio/Makefile.am
gst-libs/gst/pbutils/Makefile.am
gst-libs/gst/riff/Makefile.am
gst-libs/gst/rtp/Makefile.am
gst-libs/gst/rtsp/Makefile.am
gst-libs/gst/tag/Makefile.am
gst-libs/gst/video/Makefile.am

index 9e40db3..8f3bb59 100644 (file)
@@ -56,7 +56,7 @@ GstApp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstapp-@GST_API_VERSIO
                --pkg gstreamer-@GST_API_VERSION@ \
                --pkg gstreamer-base-@GST_API_VERSION@ \
                --pkg-export gstreamer-app-@GST_API_VERSION@ \
-               --add-init-section="gst_init(NULL,NULL);" \
+               --add-init-section="$(INTROSPECTION_INIT)" \
                --output $@ \
                $(gir_headers) \
                $(gir_sources)
index cd39fd4..275d222 100644 (file)
@@ -110,7 +110,7 @@ GstAudio-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstaudio-@GST_API_VE
                --pkg gstreamer-@GST_API_VERSION@ \
                --pkg gstreamer-base-@GST_API_VERSION@ \
                --pkg-export gstreamer-audio-@GST_API_VERSION@ \
-               --add-init-section="gst_init(NULL,NULL);" \
+               --add-init-section="$(INTROSPECTION_INIT)" \
                --output $@ \
                $(gir_headers) \
                $(gir_sources)
index 34553c1..64d5eb0 100644 (file)
@@ -100,7 +100,7 @@ GstPbutils-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstpbutils-@GST_AP
                --pkg gstreamer-video-@GST_API_VERSION@ \
                --pkg gstreamer-audio-@GST_API_VERSION@ \
                --pkg-export gstreamer-pbutils-@GST_API_VERSION@ \
-               --add-init-section="gst_init(NULL,NULL);" \
+               --add-init-section="$(INTROSPECTION_INIT)" \
                --output $@ \
                $(gir_headers) \
                $(gir_sources)
index cbff085..83d83cb 100644 (file)
@@ -52,7 +52,7 @@ libgstriff_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS)
 #              --pkg gstreamer-tag-@GST_API_VERSION@ \
 #              --pkg gstreamer-audio-@GST_API_VERSION@ \
 #              --pkg-export gstreamer-riff-@GST_API_VERSION@ \
-#              --add-init-section="gst_init(NULL,NULL);" \
+#              --add-init-section="$(INTROSPECTION_INIT)" \
 #              --output $@ \
 #              $(gir_headers) \
 #              $(gir_sources)
index 613cc12..fdd01c1 100644 (file)
@@ -68,7 +68,7 @@ GstRtp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstrtp-@GST_API_VERSIO
                --pkg gstreamer-@GST_API_VERSION@ \
                --pkg gstreamer-base-@GST_API_VERSION@ \
                --pkg-export gstreamer-rtp-@GST_API_VERSION@ \
-               --add-init-section="gst_init(NULL,NULL);" \
+               --add-init-section="$(INTROSPECTION_INIT)" \
                --output $@ \
                $(gir_headers) \
                $(gir_sources)
index ce990fe..ede5706 100644 (file)
@@ -76,7 +76,7 @@ GstRtsp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstrtsp-@GST_API_VERS
                --pkg gstreamer-@GST_API_VERSION@ \
                --pkg gstreamer-sdp-@GST_API_VERSION@ \
                --pkg-export gstreamer-rtsp-@GST_API_VERSION@ \
-               --add-init-section="gst_init(NULL,NULL);" \
+               --add-init-section="$(INTROSPECTION_INIT)" \
                --output $@ \
                $(gir_headers) \
                $(gir_sources)
index 2c404a9..c534a4d 100644 (file)
@@ -48,7 +48,7 @@ GstTag-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgsttag-@GST_API_VERSIO
                --pkg gstreamer-@GST_API_VERSION@ \
                --pkg gstreamer-base-@GST_API_VERSION@ \
                --pkg-export gstreamer-tag-@GST_API_VERSION@ \
-               --add-init-section="gst_init(NULL,NULL);" \
+               --add-init-section="$(INTROSPECTION_INIT)" \
                --output $@ \
                $(gir_headers) \
                $(gir_sources)
index 8200b00..72b436a 100644 (file)
@@ -117,7 +117,7 @@ GstVideo-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstvideo-@GST_API_VE
                --pkg gstreamer-@GST_API_VERSION@ \
                --pkg gstreamer-base-@GST_API_VERSION@ \
                --pkg-export gstreamer-video-@GST_API_VERSION@ \
-               --add-init-section="gst_init(NULL,NULL);" \
+               --add-init-section="$(INTROSPECTION_INIT)" \
                --output $@ \
                $(gir_headers) \
                $(gir_sources)