]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
libgdata: Make Authorizer.reauth_* methods virtual
authorJens Georg <mail@jensge.org>
Sat, 25 Feb 2017 19:34:24 +0000 (20:34 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 7 Jul 2017 12:17:18 +0000 (14:17 +0200)
Implementations can opt to not implement them

https://bugzilla.gnome.org/show_bug.cgi?id=779229

vapi/libgdata.vapi
vapi/metadata/GData-0.0.metadata

index 0c37ec732cfeb20b8a6e78229e96c2f52a83b0ee..54dcfcfe578e1476088d1fb399c42df242fce90d 100644 (file)
@@ -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")]
index a013a0b7df7cd0c527842085ad857150258b3747..6baf766e18270ba71adb34a040dc3ed9271093ae 100644 (file)
@@ -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