]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
rest-0.6: Various fixes
authorAdrien Bustany <abustany@gnome.org>
Thu, 27 May 2010 17:05:29 +0000 (13:05 -0400)
committerAdrien Bustany <abustany@gnome.org>
Thu, 27 May 2010 17:31:14 +0000 (13:31 -0400)
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.

vapi/packages/rest-0.6/rest-0.6-custom.vala
vapi/packages/rest-0.6/rest-0.6.metadata
vapi/rest-0.6.vapi

index 3d42d34e48d9d3a56d46417d2a7c886f4bc24752..fa7c1db254fe8a52a13663a6b55ee073a2736a16 100644 (file)
@@ -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 ();
        }
 }
index 6d5d4a84d6d5c5dc0b6743cb9e9c9d99833fb557..84f0f468907d288492c25ba6209911b46ce5390e 100644 (file)
@@ -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"
index ea2662f5abe6598fb2745e70a9e77d83f160380a..ca2f429cb16c6ea74b9c5a1965ff375e560a0592 100644 (file)
@@ -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);