[gir-repository] [gst] Rename Gst-custom.c to Gst-custom.h



commit be11af12a9fe0c427e800a7e066a752cea7f70a0
Author: Johan Dahlin <johan gnome org>
Date:   Tue Jun 22 14:24:02 2010 -0300

    [gst] Rename Gst-custom.c to Gst-custom.h
    
    Rename .c to .h so we can pick up the required annotation
    to be able to work around:
    
    https://bugzilla.gnome.org/show_bug.cgi?id=622025

 gir/{Gst-custom.c => Gst-custom.h} |   11 +++++++++++
 gir/Makefile.am                    |    8 ++++----
 2 files changed, 15 insertions(+), 4 deletions(-)
---
diff --git a/gir/Gst-custom.c b/gir/Gst-custom.h
similarity index 68%
rename from gir/Gst-custom.c
rename to gir/Gst-custom.h
index 8c1be7c..97f7145 100644
--- a/gir/Gst-custom.c
+++ b/gir/Gst-custom.h
@@ -28,3 +28,14 @@
  * @pending: (out):
  * @timeout:
  */
+
+/* https://bugzilla.gnome.org/show_bug.cgi?id=622025 */
+
+/**
+ * GstPadIntLinkFunction:
+ * @pad: The #GstPad to query.
+ *
+ * The signature of the internal pad link function.
+ *
+ * Returns: (element-type GstPad): (transfer none): returns
+ */
diff --git a/gir/Makefile.am b/gir/Makefile.am
index 0e15f7d..c269c3f 100644
--- a/gir/Makefile.am
+++ b/gir/Makefile.am
@@ -524,7 +524,7 @@ if HAVE_GSTTASKPOOL_H
 GST_HEADER_FILES += $(GST_INCLUDEDIR)/gst/gsttaskpool.h
 endif
 
-Gst-0.10.gir: $(INTROSPECTION_SCANNER) Gst-custom.c
+Gst-0.10.gir: $(INTROSPECTION_SCANNER) Gst-custom.h
 	$(DEBUG) $(INTROSPECTION_SCANNER) -v --namespace Gst --nsversion=0.10 \
 	    --add-include-path=$(srcdir) --add-include-path=. \
              --include=GObject-2.0 \
@@ -536,9 +536,9 @@ Gst-0.10.gir: $(INTROSPECTION_SCANNER) Gst-custom.c
              --pkg gstreamer-0.10 \
              --pkg gstreamer-base-0.10 \
              --output $@ \
-	     $(srcdir)/Gst-custom.c \
 	     -DGST_USE_UNSTABLE_API \
-	     $(GST_HEADER_FILES)
+	     $(GST_HEADER_FILES) \
+	     $(srcdir)/Gst-custom.h
 BUILT_GIRSOURCES += Gst-0.10.gir
 
 GSTBASE_INCLUDEDIR=`pkg-config --variable=includedir gstreamer-base-0.10`
@@ -776,7 +776,7 @@ GstVideo-0.10.gir: Gst-0.10.gir GstBase-0.10.gir $(INTROSPECTION_SCANNER)
 BUILT_GIRSOURCES += GstVideo-0.10.gir
 
 endif BUILD_GSTREAMER_PLUGINS_BASE
-EXTRA_DIST += Gst-custom.c
+EXTRA_DIST += Gst-custom.h
 
 if BUILD_MISSIONCONTROL
 MISSIONCONTROL_INCLUDEDIR=`pkg-config --variable=includedir libmissioncontrol`



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]