[gnome-online-accounts/gnome-3-6] oauth2: Minor clean up



commit 516b4ac8e09b927f1ffda8a6b7986db42da706c5
Author: Debarshi Ray <debarshir gnome org>
Date:   Mon Oct 15 11:46:29 2012 +0200

    oauth2: Minor clean up

 src/goabackend/goaoauth2provider.c |    4 ++--
 src/goabackend/goaoauth2provider.h |    3 +--
 2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/goabackend/goaoauth2provider.c b/src/goabackend/goaoauth2provider.c
index 1716cac..7839a21 100644
--- a/src/goabackend/goaoauth2provider.c
+++ b/src/goabackend/goaoauth2provider.c
@@ -465,7 +465,7 @@ goa_oauth2_provider_is_deny_node (GoaOAuth2Provider *provider, WebKitDOMNode *no
  * @node: A #WebKitDOMHTMLInputElement.
  *
  * Checks whether @node is the HTML UI element that the user can use
- * to indetify herself at the provider.
+ * to identify herself at the provider.
  *
  * This is a pure virtual method - a subclass must provide an
  * implementation.
@@ -1295,7 +1295,7 @@ goa_oauth2_provider_refresh_account (GoaProvider  *_provider,
    * DOM parsing. So we should still query and check the identity
    * afterwards.
    */
-  existing_identity = goa_account_get_identity (goa_object_peek_account (object));
+  existing_identity = goa_account_get_identity (account);
   if (g_strcmp0 (identity, existing_identity) != 0)
     {
       g_set_error (error,
diff --git a/src/goabackend/goaoauth2provider.h b/src/goabackend/goaoauth2provider.h
index 248dc65..64ac8db 100644
--- a/src/goabackend/goaoauth2provider.h
+++ b/src/goabackend/goaoauth2provider.h
@@ -71,8 +71,7 @@ struct _GoaOAuth2Provider
  * @get_use_external_browser: Virtual function for goa_oauth2_provider_get_use_external_browser().
  * @get_use_mobile_browser: Virtual function for goa_oauth2_provider_get_use_mobile_browser().
  * @add_account_key_values: Virtual function for goa_oauth2_provider_add_account_key_values().
- * @is_deny_node: Virtual function for
- * goa_oauth2_provider_is_deny_node().
+ * @is_deny_node: Virtual function for goa_oauth2_provider_is_deny_node().
  * @is_identity_node: Virtual function for goa_oauth2_provider_is_identity_node().
  *
  * Class structure for #GoaOAuth2Provider.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]