[vala] Restore missing function in rest.vapi



commit 3eecfa1ac649de7dd520ada5b1ccb2f6a3ad1822
Author: Adrien Bustany <madcat mymadcat com>
Date:   Thu Jan 28 19:58:42 2010 -0300

    Restore missing function in rest.vapi
    
    The last commit on rest.vapi removed rest_proxy_new_call, probably because
    the -custom file was omitted during generation. This commit restores it.

 vapi/packages/rest/rest-custom.vala |    3 +--
 vapi/rest.vapi                      |    3 ++-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/vapi/packages/rest/rest-custom.vala b/vapi/packages/rest/rest-custom.vala
index 5359e81..27b3094 100644
--- a/vapi/packages/rest/rest-custom.vala
+++ b/vapi/packages/rest/rest-custom.vala
@@ -1,7 +1,6 @@
 namespace Rest {
-	[CCode (cheader_filename = "rest/rest-proxy.h")]
 	public class Proxy {
-		public virtual Rest.ProxyCall new_call ();
+		public Rest.ProxyCall new_call ();
 	}
 }
 
diff --git a/vapi/rest.vapi b/vapi/rest.vapi
index 0bb8129..ebf4e4b 100644
--- a/vapi/rest.vapi
+++ b/vapi/rest.vapi
@@ -84,7 +84,7 @@ namespace Rest {
 	[CCode (cheader_filename = "rest/oauth-proxy-call.h")]
 	public class OAuthProxyCall : Rest.ProxyCall {
 	}
-	[CCode (cheader_filename = "rest/rest-proxy.h")]
+	[CCode (cheader_filename = "rest-custom.h")]
 	public class Proxy : GLib.Object {
 		[CCode (has_construct_function = false)]
 		public Proxy (string url_format, bool binding_required);
@@ -92,6 +92,7 @@ namespace Rest {
 		public virtual bool bind_valist (void* @params);
 		public static GLib.Quark error_quark ();
 		public unowned string get_user_agent ();
+		public Rest.ProxyCall new_call ();
 		public void set_user_agent (string user_agent);
 		public bool simple_run (string payload, int64 len) throws GLib.Error;
 		public virtual bool simple_run_valist (string payload, int64 len, void* @params) throws GLib.Error;



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