From: Jens Georg Date: Sat, 25 Feb 2017 19:34:24 +0000 (+0100) Subject: libgdata: Make Authorizer.reauth_* methods virtual X-Git-Tag: 0.37.2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05b90480f1ddb3f1ee7f684e0e57f36c105c3db9;p=thirdparty%2Fvala.git libgdata: Make Authorizer.reauth_* methods virtual Implementations can opt to not implement them https://bugzilla.gnome.org/show_bug.cgi?id=779229 --- diff --git a/vapi/libgdata.vapi b/vapi/libgdata.vapi index 0c37ec732..54dcfcfe5 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 a013a0b7d..6baf766e1 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