summaryrefslogtreecommitdiff
path: root/gdata/gdata-client-login-authorizer.h
diff options
context:
space:
mode:
authorPhilip Withnall <withnall@endlessm.com>2018-02-12 12:27:29 +0000
committerPhilip Withnall <withnall@endlessm.com>2018-02-12 12:27:51 +0000
commitaade3a9b7ef55f1e64753e379f8e56fcc4bea8e5 (patch)
tree74d40a104f7f14ae7c02bdfab61a1235e6d3d660 /gdata/gdata-client-login-authorizer.h
parentf8cd424a5594ed6b2680d860b33d3933f64f1c20 (diff)
downloadlibgdata-aade3a9b7ef55f1e64753e379f8e56fcc4bea8e5.tar.gz
gdata: Add some g_autoptr() declarations for authorizer classes
Signed-off-by: Philip Withnall <withnall@endlessm.com> https://bugzilla.gnome.org/show_bug.cgi?id=793367
Diffstat (limited to 'gdata/gdata-client-login-authorizer.h')
-rw-r--r--gdata/gdata-client-login-authorizer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdata/gdata-client-login-authorizer.h b/gdata/gdata-client-login-authorizer.h
index 3db4c5c7..7e13ca1c 100644
--- a/gdata/gdata-client-login-authorizer.h
+++ b/gdata/gdata-client-login-authorizer.h
@@ -109,6 +109,7 @@ typedef struct {
} GDataClientLoginAuthorizerClass;
GType gdata_client_login_authorizer_get_type (void) G_GNUC_CONST;
+G_DEFINE_AUTOPTR_CLEANUP_FUNC (GDataClientLoginAuthorizer, g_object_unref)
GDataClientLoginAuthorizer *gdata_client_login_authorizer_new (const gchar *client_id, GType service_type) G_GNUC_WARN_UNUSED_RESULT G_GNUC_MALLOC;
GDataClientLoginAuthorizer *gdata_client_login_authorizer_new_for_authorization_domains (const gchar *client_id, GList *authorization_domains)