[vala] gstreamer: Hide private fields from Gst.DebugCategory



commit dddb29344bef2fb483225585a62f751bf060d560
Author: Sebastian Dröge <sebastian droege collabora co uk>
Date:   Sat Mar 27 15:56:24 2010 +0100

    gstreamer: Hide private fields from Gst.DebugCategory

 vapi/gstreamer-0.10.vapi                           |    6 +-----
 .../gstreamer-0.10/gstreamer-0.10.metadata         |    2 ++
 2 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi
index 8ca3e38..eafec58 100644
--- a/vapi/gstreamer-0.10.vapi
+++ b/vapi/gstreamer-0.10.vapi
@@ -290,10 +290,6 @@ namespace Gst {
 	[Compact]
 	[CCode (cheader_filename = "gst/gst.h")]
 	public class DebugCategory {
-		public uint color;
-		public weak string description;
-		public weak string name;
-		public int threshold;
 		[CCode (cname = "GST_CAT_DEBUG")]
 		public void debug (string format, ...);
 		[CCode (cname = "GST_CAT_DEBUG_OBJECT")]
@@ -2525,7 +2521,7 @@ namespace Gst {
 	[CCode (cheader_filename = "gst/gst.h")]
 	public static int debug_construct_win_color (uint colorinfo);
 	[CCode (cheader_filename = "gst/gst.h")]
-	public static unowned GLib.SList debug_get_all_categories ();
+	public static GLib.SList<Gst.DebugCategory> debug_get_all_categories ();
 	[CCode (cheader_filename = "gst/gst.h")]
 	public static Gst.DebugLevel debug_get_default_threshold ();
 	[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 be2777a..d07d5f5 100644
--- a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
+++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
@@ -109,7 +109,9 @@ gst_clock_get_calibration.rate_denom is_out="1"
 gst_clock_new_single_shot_id hidden="1"
 gst_clock_new_periodic_id hidden="1"
 GstCoreError errordomain="1"
+GstDebugCategory.* hidden="1"
 GstDebugLevel to_string="gst_debug_level_get_name"
+gst_debug_get_all_categories transfer_ownership="1" type_arguments="DebugCategory"
 gst_debug_level_get_name hidden="1"
 GstElement::no_more_pads has_emitter="1"
 GstElement.pads type_arguments="Pad"



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