[vala/0.36: 35/173] libgdata: Make Authorizer.reauth_* methods virtual
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.36: 35/173] libgdata: Make Authorizer.reauth_* methods virtual
- Date: Fri, 9 Feb 2018 13:57:15 +0000 (UTC)
commit a295fe4e7d17defbf5a2526cd5e635677009f941
Author: Jens Georg <mail jensge org>
Date: Sat Feb 25 20:34:24 2017 +0100
libgdata: Make Authorizer.reauth_* methods virtual
Implementations can opt to not implement them
https://bugzilla.gnome.org/show_bug.cgi?id=779229
vapi/libgdata.vapi | 4 ++--
vapi/metadata/GData-0.0.metadata | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/vapi/libgdata.vapi b/vapi/libgdata.vapi
index 0c37ec7..54dcfcf 100644
--- a/vapi/libgdata.vapi
+++ b/vapi/libgdata.vapi
@@ -2722,8 +2722,8 @@ namespace GData {
public interface Authorizer : GLib.Object {
public abstract bool is_authorized_for_domain (GData.AuthorizationDomain domain);
public abstract void process_request (GData.AuthorizationDomain? domain, Soup.Message
message);
- public abstract bool refresh_authorization (GLib.Cancellable? cancellable = null) throws
GLib.Error;
- public abstract async bool refresh_authorization_async (GLib.Cancellable? cancellable) throws
GLib.Error;
+ public virtual bool refresh_authorization (GLib.Cancellable? cancellable = null) throws
GLib.Error;
+ public virtual async bool refresh_authorization_async (GLib.Cancellable? cancellable) throws
GLib.Error;
}
[CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_batchable_get_type ()")]
[Version (since = "0.7.0")]
diff --git a/vapi/metadata/GData-0.0.metadata b/vapi/metadata/GData-0.0.metadata
index a013a0b..6baf766 100644
--- a/vapi/metadata/GData-0.0.metadata
+++ b/vapi/metadata/GData-0.0.metadata
@@ -1,6 +1,8 @@
Color struct
*.*_async skip=false
*.*_finish skip=false
+Authorizer.refresh_authorization_async#virtual_method virtual
+Authorizer.refresh_authorization#virtual_method virtual
ContactsContact.get_photo type="uint8[]" array_length_idx=1
ContactsContact.get_photo_async type="uint8[]" array_length_idx=1
Parsable.get_xml#method skip
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]