[vala] rest-0.6: Make Rest.ProxyCall a GObject



commit 405908c5e355152b8a24533c1cd88adcfc6781c8
Author: Adrien Bustany <abustany gnome org>
Date:   Sun Jun 13 14:00:57 2010 -0400

    rest-0.6: Make Rest.ProxyCall a GObject
    
    The Rest.ProxyCall class was incorrectly detected as a Compact, non
    GObject class by vapigen.

 vapi/packages/rest-0.6/rest-0.6-custom.vala |    4 ++++
 vapi/rest-0.6.vapi                          |    8 +-------
 2 files changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/vapi/packages/rest-0.6/rest-0.6-custom.vala b/vapi/packages/rest-0.6/rest-0.6-custom.vala
index fa7c1db..7c29039 100644
--- a/vapi/packages/rest-0.6/rest-0.6-custom.vala
+++ b/vapi/packages/rest-0.6/rest-0.6-custom.vala
@@ -3,5 +3,9 @@ namespace Rest {
 	public class Proxy : GLib.Object {
 		public Rest.ProxyCall new_call ();
 	}
+
+	[CCode (cheader_filename = "rest/rest-proxy-call.h")]
+	public class ProxyCall : GLib.Object {
+	}
 }
 
diff --git a/vapi/rest-0.6.vapi b/vapi/rest-0.6.vapi
index ca2f429..5a60555 100644
--- a/vapi/rest-0.6.vapi
+++ b/vapi/rest-0.6.vapi
@@ -52,9 +52,8 @@ namespace Rest {
 		public bool simple_run (string payload, int64 len) throws GLib.Error;
 		public bool simple_run_valist (string payload, int64 len, void* @params) throws GLib.Error;
 	}
-	[Compact]
 	[CCode (cheader_filename = "rest/rest-proxy-call.h")]
-	public class ProxyCall {
+	public class ProxyCall : GLib.Object {
 		public weak GLib.Object parent;
 		public void add_header (string header, string value);
 		public void add_headers (...);
@@ -103,11 +102,6 @@ namespace Rest {
 		public XmlParser ();
 		public unowned Rest.XmlNode parse_from_data (string data, int64 len);
 	}
-	[Compact]
-	[CCode (cheader_filename = "rest/rest-xml-parser.h")]
-	public class XmlParserClass {
-		public weak GLib.ObjectClass parent_class;
-	}
 	[CCode (cprefix = "", has_type_id = false, cheader_filename = "rest/oauth-proxy.h")]
 	public enum OAuthSignatureMethod {
 		PLAINTEXT,



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