[gnome-online-accounts/gnome-3-8] Adjust some whitespace
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts/gnome-3-8] Adjust some whitespace
- Date: Tue, 12 Mar 2013 10:50:09 +0000 (UTC)
commit 76e2b380c13b83056f8dc1af21b562389a5f7a9a
Author: Debarshi Ray <debarshir gnome org>
Date: Mon Mar 11 13:58:23 2013 +0100
Adjust some whitespace
src/goabackend/goamailauth.h | 70 +++++++++---------
src/goabackend/goaoauth2provider.h | 122 ++++++++++++++++----------------
src/goabackend/goaoauthprovider.h | 136 ++++++++++++++++++------------------
3 files changed, 164 insertions(+), 164 deletions(-)
---
diff --git a/src/goabackend/goamailauth.h b/src/goabackend/goamailauth.h
index d5f9d81..1d82b9f 100644
--- a/src/goabackend/goamailauth.h
+++ b/src/goabackend/goamailauth.h
@@ -55,43 +55,43 @@ struct _GoaMailAuth
struct _GoaMailAuthClass
{
GObjectClass parent_class;
- gboolean (*is_needed) (GoaMailAuth *auth);
- gboolean (*run_sync) (GoaMailAuth *auth,
- GCancellable *cancellable,
- GError **error);
- gboolean (*starttls_sync) (GoaMailAuth *auth,
- GCancellable *cancellable,
- GError **error);
+ gboolean (*is_needed) (GoaMailAuth *auth);
+ gboolean (*run_sync) (GoaMailAuth *auth,
+ GCancellable *cancellable,
+ GError **error);
+ gboolean (*starttls_sync) (GoaMailAuth *auth,
+ GCancellable *cancellable,
+ GError **error);
};
-GType goa_mail_auth_get_type (void) G_GNUC_CONST;
-gboolean goa_mail_auth_is_needed (GoaMailAuth *auth);
-void goa_mail_auth_run (GoaMailAuth *auth,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
-gboolean goa_mail_auth_run_finish (GoaMailAuth *auth,
- GAsyncResult *res,
- GError **error);
-gboolean goa_mail_auth_run_sync (GoaMailAuth *auth,
- GCancellable *cancellable,
- GError **error);
-void goa_mail_auth_starttls (GoaMailAuth *auth,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
-gboolean goa_mail_auth_starttls_finish (GoaMailAuth *auth,
- GAsyncResult *res,
- GError **error);
-gboolean goa_mail_auth_starttls_sync (GoaMailAuth *auth,
- GCancellable *cancellable,
- GError **error);
-GDataInputStream *goa_mail_auth_get_input (GoaMailAuth *auth);
-void goa_mail_auth_set_input (GoaMailAuth *auth,
- GDataInputStream *input);
-GDataOutputStream *goa_mail_auth_get_output (GoaMailAuth *auth);
-void goa_mail_auth_set_output (GoaMailAuth *auth,
- GDataOutputStream *input);
+GType goa_mail_auth_get_type (void) G_GNUC_CONST;
+gboolean goa_mail_auth_is_needed (GoaMailAuth *auth);
+void goa_mail_auth_run (GoaMailAuth *auth,
+ GCancellable *cancellable,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+gboolean goa_mail_auth_run_finish (GoaMailAuth *auth,
+ GAsyncResult *res,
+ GError **error);
+gboolean goa_mail_auth_run_sync (GoaMailAuth *auth,
+ GCancellable *cancellable,
+ GError **error);
+void goa_mail_auth_starttls (GoaMailAuth *auth,
+ GCancellable *cancellable,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+gboolean goa_mail_auth_starttls_finish (GoaMailAuth *auth,
+ GAsyncResult *res,
+ GError **error);
+gboolean goa_mail_auth_starttls_sync (GoaMailAuth *auth,
+ GCancellable *cancellable,
+ GError **error);
+GDataInputStream *goa_mail_auth_get_input (GoaMailAuth *auth);
+void goa_mail_auth_set_input (GoaMailAuth *auth,
+ GDataInputStream *input);
+GDataOutputStream *goa_mail_auth_get_output (GoaMailAuth *auth);
+void goa_mail_auth_set_output (GoaMailAuth *auth,
+ GDataOutputStream *input);
G_END_DECLS
diff --git a/src/goabackend/goaoauth2provider.h b/src/goabackend/goaoauth2provider.h
index 47e88a4..21036ca 100644
--- a/src/goabackend/goaoauth2provider.h
+++ b/src/goabackend/goaoauth2provider.h
@@ -83,79 +83,79 @@ struct _GoaOAuth2ProviderClass
GoaProviderClass parent_class;
/* pure virtual */
- const gchar *(*get_authorization_uri) (GoaOAuth2Provider *provider);
- const gchar *(*get_redirect_uri) (GoaOAuth2Provider *provider);
- const gchar *(*get_scope) (GoaOAuth2Provider *provider);
- const gchar *(*get_client_id) (GoaOAuth2Provider *provider);
- const gchar *(*get_client_secret) (GoaOAuth2Provider *provider);
- const gchar *(*get_authentication_cookie) (GoaOAuth2Provider *provider);
- gchar *(*get_identity_sync) (GoaOAuth2Provider *provider,
- const gchar *access_token,
- gchar **out_presentation_identity,
- GCancellable *cancellable,
- GError **error);
+ const gchar *(*get_authorization_uri) (GoaOAuth2Provider *provider);
+ const gchar *(*get_redirect_uri) (GoaOAuth2Provider *provider);
+ const gchar *(*get_scope) (GoaOAuth2Provider *provider);
+ const gchar *(*get_client_id) (GoaOAuth2Provider *provider);
+ const gchar *(*get_client_secret) (GoaOAuth2Provider *provider);
+ const gchar *(*get_authentication_cookie) (GoaOAuth2Provider *provider);
+ gchar *(*get_identity_sync) (GoaOAuth2Provider *provider,
+ const gchar *access_token,
+ gchar **out_presentation_identity,
+ GCancellable *cancellable,
+ GError **error);
/* virtual but with default implementation */
- gchar *(*build_authorization_uri) (GoaOAuth2Provider *provider,
- const gchar *authorization_uri,
- const gchar *escaped_redirect_uri,
- const gchar *escaped_client_id,
- const gchar *escaped_scope);
- const gchar *(*get_token_uri) (GoaOAuth2Provider *provider);
- gboolean (*get_use_external_browser) (GoaOAuth2Provider *provider);
- gboolean (*get_use_mobile_browser) (GoaOAuth2Provider *provider);
- void (*add_account_key_values) (GoaOAuth2Provider *provider,
- GVariantBuilder *builder);
+ gchar *(*build_authorization_uri) (GoaOAuth2Provider *provider,
+ const gchar *authorization_uri,
+ const gchar *escaped_redirect_uri,
+ const gchar *escaped_client_id,
+ const gchar *escaped_scope);
+ const gchar *(*get_token_uri) (GoaOAuth2Provider *provider);
+ gboolean (*get_use_external_browser) (GoaOAuth2Provider *provider);
+ gboolean (*get_use_mobile_browser) (GoaOAuth2Provider *provider);
+ void (*add_account_key_values) (GoaOAuth2Provider *provider,
+ GVariantBuilder *builder);
/* pure virtual */
- gboolean (*is_deny_node) (GoaOAuth2Provider *provider,
- WebKitDOMNode *node);
- gboolean (*is_identity_node) (GoaOAuth2Provider *provider,
- WebKitDOMHTMLInputElement *element);
+ gboolean (*is_deny_node) (GoaOAuth2Provider *provider,
+ WebKitDOMNode *node);
+ gboolean (*is_identity_node) (GoaOAuth2Provider *provider,
+ WebKitDOMHTMLInputElement *element);
/* virtual but with default implementation */
- gboolean (*is_password_node) (GoaOAuth2Provider *provider,
- WebKitDOMHTMLInputElement *element);
+ gboolean (*is_password_node) (GoaOAuth2Provider *provider,
+ WebKitDOMHTMLInputElement *element);
/*< private >*/
/* Padding for future expansion */
gpointer goa_reserved[29];
};
-GType goa_oauth2_provider_get_type (void) G_GNUC_CONST;
-const gchar *goa_oauth2_provider_get_authorization_uri (GoaOAuth2Provider *provider);
-const gchar *goa_oauth2_provider_get_token_uri (GoaOAuth2Provider *provider);
-const gchar *goa_oauth2_provider_get_redirect_uri (GoaOAuth2Provider *provider);
-const gchar *goa_oauth2_provider_get_scope (GoaOAuth2Provider *provider);
-const gchar *goa_oauth2_provider_get_client_id (GoaOAuth2Provider *provider);
-const gchar *goa_oauth2_provider_get_client_secret (GoaOAuth2Provider *provider);
-const gchar *goa_oauth2_provider_get_authentication_cookie (GoaOAuth2Provider *provider);
-gchar *goa_oauth2_provider_get_identity_sync (GoaOAuth2Provider *provider,
- const gchar *access_token,
- gchar **out_presentation_identity,
- GCancellable *cancellable,
- GError **error);
-gboolean goa_oauth2_provider_is_deny_node (GoaOAuth2Provider *provider,
- WebKitDOMNode *node);
-gboolean goa_oauth2_provider_is_identity_node (GoaOAuth2Provider *provider,
- WebKitDOMHTMLInputElement *element);
-gboolean goa_oauth2_provider_is_password_node (GoaOAuth2Provider *provider,
- WebKitDOMHTMLInputElement *element);
-gchar *goa_oauth2_provider_get_access_token_sync (GoaOAuth2Provider *provider,
- GoaObject *object,
- gboolean force_refresh,
- gint *out_access_token_expires_in,
- GCancellable *cancellable,
- GError **error);
-gchar *goa_oauth2_provider_build_authorization_uri (GoaOAuth2Provider *provider,
- const gchar *authorization_uri,
- const gchar *escaped_redirect_uri,
- const gchar *escaped_client_id,
- const gchar *escaped_scope);
-gboolean goa_oauth2_provider_get_use_external_browser (GoaOAuth2Provider *provider);
-gboolean goa_oauth2_provider_get_use_mobile_browser (GoaOAuth2Provider *provider);
-void goa_oauth2_provider_add_account_key_values (GoaOAuth2Provider *provider,
- GVariantBuilder *builder);
+GType goa_oauth2_provider_get_type (void) G_GNUC_CONST;
+const gchar *goa_oauth2_provider_get_authorization_uri (GoaOAuth2Provider *provider);
+const gchar *goa_oauth2_provider_get_token_uri (GoaOAuth2Provider *provider);
+const gchar *goa_oauth2_provider_get_redirect_uri (GoaOAuth2Provider *provider);
+const gchar *goa_oauth2_provider_get_scope (GoaOAuth2Provider *provider);
+const gchar *goa_oauth2_provider_get_client_id (GoaOAuth2Provider *provider);
+const gchar *goa_oauth2_provider_get_client_secret (GoaOAuth2Provider *provider);
+const gchar *goa_oauth2_provider_get_authentication_cookie (GoaOAuth2Provider *provider);
+gchar *goa_oauth2_provider_get_identity_sync (GoaOAuth2Provider *provider,
+ const gchar *access_token,
+ gchar
**out_presentation_identity,
+ GCancellable *cancellable,
+ GError **error);
+gboolean goa_oauth2_provider_is_deny_node (GoaOAuth2Provider *provider,
+ WebKitDOMNode *node);
+gboolean goa_oauth2_provider_is_identity_node (GoaOAuth2Provider *provider,
+ WebKitDOMHTMLInputElement *element);
+gboolean goa_oauth2_provider_is_password_node (GoaOAuth2Provider *provider,
+ WebKitDOMHTMLInputElement *element);
+gchar *goa_oauth2_provider_get_access_token_sync (GoaOAuth2Provider *provider,
+ GoaObject *object,
+ gboolean force_refresh,
+ gint
*out_access_token_expires_in,
+ GCancellable *cancellable,
+ GError **error);
+gchar *goa_oauth2_provider_build_authorization_uri (GoaOAuth2Provider *provider,
+ const gchar
*authorization_uri,
+ const gchar
*escaped_redirect_uri,
+ const gchar
*escaped_client_id,
+ const gchar *escaped_scope);
+gboolean goa_oauth2_provider_get_use_external_browser (GoaOAuth2Provider *provider);
+gboolean goa_oauth2_provider_get_use_mobile_browser (GoaOAuth2Provider *provider);
+void goa_oauth2_provider_add_account_key_values (GoaOAuth2Provider *provider,
+ GVariantBuilder *builder);
G_END_DECLS
diff --git a/src/goabackend/goaoauthprovider.h b/src/goabackend/goaoauthprovider.h
index 7bd5a2b..73e49fc 100644
--- a/src/goabackend/goaoauthprovider.h
+++ b/src/goabackend/goaoauthprovider.h
@@ -86,86 +86,86 @@ struct _GoaOAuthProviderClass
GoaProviderClass parent_class;
/* pure virtual */
- const gchar *(*get_consumer_key) (GoaOAuthProvider *provider);
- const gchar *(*get_consumer_secret) (GoaOAuthProvider *provider);
- const gchar *(*get_request_uri) (GoaOAuthProvider *provider);
- const gchar *(*get_authorization_uri) (GoaOAuthProvider *provider);
- const gchar *(*get_token_uri) (GoaOAuthProvider *provider);
- const gchar *(*get_callback_uri) (GoaOAuthProvider *provider);
- const gchar *(*get_authentication_cookie) (GoaOAuthProvider *provider);
-
- gchar *(*get_identity_sync) (GoaOAuthProvider *provider,
- const gchar *access_token,
- const gchar *access_token_secret,
- gchar **out_presentation_identity,
- GCancellable *cancellable,
- GError **error);
-
- gchar *(*parse_request_token_error) (GoaOAuthProvider *provider,
- RestProxyCall *call);
+ const gchar *(*get_consumer_key) (GoaOAuthProvider *provider);
+ const gchar *(*get_consumer_secret) (GoaOAuthProvider *provider);
+ const gchar *(*get_request_uri) (GoaOAuthProvider *provider);
+ const gchar *(*get_authorization_uri) (GoaOAuthProvider *provider);
+ const gchar *(*get_token_uri) (GoaOAuthProvider *provider);
+ const gchar *(*get_callback_uri) (GoaOAuthProvider *provider);
+ const gchar *(*get_authentication_cookie) (GoaOAuthProvider *provider);
+
+ gchar *(*get_identity_sync) (GoaOAuthProvider *provider,
+ const gchar *access_token,
+ const gchar *access_token_secret,
+ gchar **out_presentation_identity,
+ GCancellable *cancellable,
+ GError **error);
+
+ gchar *(*parse_request_token_error) (GoaOAuthProvider *provider,
+ RestProxyCall *call);
/* virtual but with default implementation */
- gchar *(*build_authorization_uri) (GoaOAuthProvider *provider,
- const gchar *authorization_uri,
- const gchar *escaped_oauth_token);
- gboolean (*get_use_external_browser) (GoaOAuthProvider *provider);
- gboolean (*get_use_mobile_browser) (GoaOAuthProvider *provider);
- gchar **(*get_request_uri_params) (GoaOAuthProvider *provider);
- void (*add_account_key_values) (GoaOAuthProvider *provider,
- GVariantBuilder *builder);
+ gchar *(*build_authorization_uri) (GoaOAuthProvider *provider,
+ const gchar *authorization_uri,
+ const gchar *escaped_oauth_token);
+ gboolean (*get_use_external_browser) (GoaOAuthProvider *provider);
+ gboolean (*get_use_mobile_browser) (GoaOAuthProvider *provider);
+ gchar **(*get_request_uri_params) (GoaOAuthProvider *provider);
+ void (*add_account_key_values) (GoaOAuthProvider *provider,
+ GVariantBuilder *builder);
/* pure virtual */
- gboolean (*is_deny_node) (GoaOAuthProvider *provider,
- WebKitDOMNode *node);
- gboolean (*is_identity_node) (GoaOAuthProvider *provider,
- WebKitDOMHTMLInputElement *element);
+ gboolean (*is_deny_node) (GoaOAuthProvider *provider,
+ WebKitDOMNode *node);
+ gboolean (*is_identity_node) (GoaOAuthProvider *provider,
+ WebKitDOMHTMLInputElement *element);
/* virtual but with default implementation */
- gboolean (*is_password_node) (GoaOAuthProvider *provider,
- WebKitDOMHTMLInputElement *element);
+ gboolean (*is_password_node) (GoaOAuthProvider *provider,
+ WebKitDOMHTMLInputElement *element);
/*< private >*/
/* Padding for future expansion */
gpointer goa_reserved[29];
};
-GType goa_oauth_provider_get_type (void) G_GNUC_CONST;
-const gchar *goa_oauth_provider_get_consumer_key (GoaOAuthProvider *provider);
-const gchar *goa_oauth_provider_get_consumer_secret (GoaOAuthProvider *provider);
-const gchar *goa_oauth_provider_get_request_uri (GoaOAuthProvider *provider);
-gchar **goa_oauth_provider_get_request_uri_params (GoaOAuthProvider *provider);
-const gchar *goa_oauth_provider_get_authorization_uri (GoaOAuthProvider *provider);
-const gchar *goa_oauth_provider_get_token_uri (GoaOAuthProvider *provider);
-const gchar *goa_oauth_provider_get_callback_uri (GoaOAuthProvider *provider);
-const gchar *goa_oauth_provider_get_authentication_cookie (GoaOAuthProvider *provider);
-gchar *goa_oauth_provider_get_identity_sync (GoaOAuthProvider *provider,
- const gchar *access_token,
- const gchar *access_token_secret,
- gchar **out_presentation_identity,
- GCancellable *cancellable,
- GError **error);
-gboolean goa_oauth_provider_is_deny_node (GoaOAuthProvider *provider,
- WebKitDOMNode *node);
-gboolean goa_oauth_provider_is_identity_node (GoaOAuthProvider *provider,
- WebKitDOMHTMLInputElement *element);
-gboolean goa_oauth_provider_is_password_node (GoaOAuthProvider *provider,
- WebKitDOMHTMLInputElement *element);
-gchar *goa_oauth_provider_parse_request_token_error (GoaOAuthProvider *provider,
- RestProxyCall *call);
-gchar *goa_oauth_provider_get_access_token_sync (GoaOAuthProvider *provider,
- GoaObject *object,
- gboolean force_refresh,
- gchar **out_access_token_secret,
- gint *out_access_token_expires_in,
- GCancellable *cancellable,
- GError **error);
-gchar *goa_oauth_provider_build_authorization_uri (GoaOAuthProvider *provider,
- const gchar *authorization_uri,
- const gchar *escaped_oauth_token);
-gboolean goa_oauth_provider_get_use_external_browser (GoaOAuthProvider *provider);
-gboolean goa_oauth_provider_get_use_mobile_browser (GoaOAuthProvider *provider);
-void goa_oauth_provider_add_account_key_values (GoaOAuthProvider *provider,
- GVariantBuilder *builder);
+GType goa_oauth_provider_get_type (void) G_GNUC_CONST;
+const gchar *goa_oauth_provider_get_consumer_key (GoaOAuthProvider *provider);
+const gchar *goa_oauth_provider_get_consumer_secret (GoaOAuthProvider *provider);
+const gchar *goa_oauth_provider_get_request_uri (GoaOAuthProvider *provider);
+gchar **goa_oauth_provider_get_request_uri_params (GoaOAuthProvider *provider);
+const gchar *goa_oauth_provider_get_authorization_uri (GoaOAuthProvider *provider);
+const gchar *goa_oauth_provider_get_token_uri (GoaOAuthProvider *provider);
+const gchar *goa_oauth_provider_get_callback_uri (GoaOAuthProvider *provider);
+const gchar *goa_oauth_provider_get_authentication_cookie (GoaOAuthProvider *provider);
+gchar *goa_oauth_provider_get_identity_sync (GoaOAuthProvider *provider,
+ const gchar *access_token,
+ const gchar *access_token_secret,
+ gchar
**out_presentation_identity,
+ GCancellable *cancellable,
+ GError **error);
+gboolean goa_oauth_provider_is_deny_node (GoaOAuthProvider *provider,
+ WebKitDOMNode *node);
+gboolean goa_oauth_provider_is_identity_node (GoaOAuthProvider *provider,
+ WebKitDOMHTMLInputElement *element);
+gboolean goa_oauth_provider_is_password_node (GoaOAuthProvider *provider,
+ WebKitDOMHTMLInputElement *element);
+gchar *goa_oauth_provider_parse_request_token_error (GoaOAuthProvider *provider,
+ RestProxyCall *call);
+gchar *goa_oauth_provider_get_access_token_sync (GoaOAuthProvider *provider,
+ GoaObject *object,
+ gboolean force_refresh,
+ gchar
**out_access_token_secret,
+ gint
*out_access_token_expires_in,
+ GCancellable *cancellable,
+ GError **error);
+gchar *goa_oauth_provider_build_authorization_uri (GoaOAuthProvider *provider,
+ const gchar
*authorization_uri,
+ const gchar
*escaped_oauth_token);
+gboolean goa_oauth_provider_get_use_external_browser (GoaOAuthProvider *provider);
+gboolean goa_oauth_provider_get_use_mobile_browser (GoaOAuthProvider *provider);
+void goa_oauth_provider_add_account_key_values (GoaOAuthProvider *provider,
+ GVariantBuilder *builder);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]