From: Adrien Bustany Date: Thu, 27 May 2010 17:05:29 +0000 (-0400) Subject: rest-0.6: Various fixes X-Git-Tag: 0.9.1~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf7a073f54760fc982dab92376be8a3d624ce9dc;p=thirdparty%2Fvala.git rest-0.6: Various fixes This commit cleans the .metadata file, and fixes the ProxyCall binding. The classes FacebookProxy and FlickrProxy are now part of the rest-extras-0.6 package, so information concerning them can be removed from the metadata file. ProxyCall was not marked as being a GObject. --- 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 3d42d34e4..fa7c1db25 100644 --- a/vapi/packages/rest-0.6/rest-0.6-custom.vala +++ b/vapi/packages/rest-0.6/rest-0.6-custom.vala @@ -1,6 +1,6 @@ namespace Rest { [CCode (cheader_filename = "rest/rest-proxy.h")] - public class Proxy { + public class Proxy : GLib.Object { public Rest.ProxyCall new_call (); } } diff --git a/vapi/packages/rest-0.6/rest-0.6.metadata b/vapi/packages/rest-0.6/rest-0.6.metadata index 6d5d4a84d..84f0f4689 100644 --- a/vapi/packages/rest-0.6/rest-0.6.metadata +++ b/vapi/packages/rest-0.6/rest-0.6.metadata @@ -1,7 +1,3 @@ -FacebookProxy cheader_filename="rest/facebook-proxy.h" -FacebookProxyCall cheader_filename="rest/facebook-proxy-call.h" -FlickrProxy cheader_filename="rest/flickr-proxy.h" -FlickrProxyCall cheader_filename="rest/flickr-proxy-call.h" OAuthProxy cheader_filename="rest/oauth-proxy.h" OAuthProxyCall cheader_filename="rest/oauth-proxy-call.h" RestProxy cheader_filename="rest/rest-proxy.h" diff --git a/vapi/rest-0.6.vapi b/vapi/rest-0.6.vapi index ea2662f5a..ca2f429cb 100644 --- a/vapi/rest-0.6.vapi +++ b/vapi/rest-0.6.vapi @@ -38,8 +38,8 @@ namespace Rest { public class OAuthProxyCall { public weak Rest.ProxyCall parent; } - [CCode (ref_function = "rest_proxy_ref", unref_function = "rest_proxy_unref", cheader_filename = "rest/rest-proxy.h")] - public class Proxy { + [CCode (cheader_filename = "rest/rest-proxy.h")] + public class Proxy : GLib.Object { public weak GLib.Object parent; [CCode (has_construct_function = false)] public Proxy (string url_format, bool binding_required);