[vala] rest-0.6: Various fixes
- From: Adrien Bustany <abustany src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] rest-0.6: Various fixes
- Date: Thu, 27 May 2010 17:32:28 +0000 (UTC)
commit bf7a073f54760fc982dab92376be8a3d624ce9dc
Author: Adrien Bustany <abustany gnome org>
Date: Thu May 27 13:05:29 2010 -0400
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.
vapi/packages/rest-0.6/rest-0.6-custom.vala | 2 +-
vapi/packages/rest-0.6/rest-0.6.metadata | 4 ----
vapi/rest-0.6.vapi | 4 ++--
3 files changed, 3 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 3d42d34..fa7c1db 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 6d5d4a8..84f0f46 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 ea2662f..ca2f429 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]