[vala] gstreamer-0.10: Fix GstCoreError binding



commit d6560227bce5cd922c7d138672f7f770988515b9
Author: Jürg Billeter <j bitron ch>
Date:   Tue Dec 15 19:19:39 2009 +0100

    gstreamer-0.10: Fix GstCoreError binding
    
    Fixes bug 604601.

 vapi/gstreamer-0.10.vapi                           |   36 ++++++++++----------
 .../gstreamer-0.10/gstreamer-0.10.metadata         |    1 +
 2 files changed, 19 insertions(+), 18 deletions(-)
---
diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi
index 543a876..427dd1c 100644
--- a/vapi/gstreamer-0.10.vapi
+++ b/vapi/gstreamer-0.10.vapi
@@ -1694,24 +1694,6 @@ namespace Gst {
 		REALTIME,
 		MONOTONIC
 	}
-	[CCode (cprefix = "GST_CORE_ERROR_", cheader_filename = "gst/gst.h")]
-	public enum CoreError {
-		FAILED,
-		TOO_LAZY,
-		NOT_IMPLEMENTED,
-		STATE_CHANGE,
-		PAD,
-		THREAD,
-		NEGOTIATION,
-		EVENT,
-		SEEK,
-		CAPS,
-		TAG,
-		MISSING_PLUGIN,
-		CLOCK,
-		DISABLED,
-		NUM_ERRORS
-	}
 	[CCode (cprefix = "GST_DEBUG_", cheader_filename = "gst/gst.h")]
 	public enum DebugColorFlags {
 		FG_BLACK,
@@ -2161,6 +2143,24 @@ namespace Gst {
 		SINK,
 		SRC
 	}
+	[CCode (cprefix = "GST_CORE_ERROR_", cheader_filename = "gst/gst.h")]
+	public errordomain CoreError {
+		FAILED,
+		TOO_LAZY,
+		NOT_IMPLEMENTED,
+		STATE_CHANGE,
+		PAD,
+		THREAD,
+		NEGOTIATION,
+		EVENT,
+		SEEK,
+		CAPS,
+		TAG,
+		MISSING_PLUGIN,
+		CLOCK,
+		DISABLED,
+		NUM_ERRORS,
+	}
 	[CCode (cheader_filename = "gst/gst.h")]
 	public delegate unowned Gst.Buffer BufferListDoFunction (Gst.Buffer buffer);
 	[CCode (cheader_filename = "gst/gst.h")]
diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
index d7b65c7..0841a3a 100644
--- a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
+++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
@@ -59,6 +59,7 @@ GstClockTime hidden="1"
 GstClockTimeDiff hidden="1"
 GstControlSource.get_value hidden="1"
 GstControlSource.get_value_array hidden="1"
+GstCoreError errordomain="1"
 GstDebugLevel to_string="gst_debug_level_get_name"
 gst_debug_level_get_name hidden="1"
 GstElement::no_more_pads has_emitter="1"



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