remove obsolete variable from private structure
authorAlexander Akimov <ext-alexander.akimov@nokia.com>
Tue, 29 Jun 2010 07:24:52 +0000 (10:24 +0300)
committerAlexander Akimov <ext-alexander.akimov@nokia.com>
Tue, 29 Jun 2010 07:24:52 +0000 (10:24 +0300)
libsignon-glib/signon-identity.c

index 65f95ca..ed17698 100644 (file)
@@ -66,7 +66,6 @@ struct _SignonIdentityPrivate
     SignonProxy *signon_proxy;
 
     SignonIdentityInfo *identity_info;
-    GError *last_error;
 
     GSList *sessions;
     IdentityRegistrationState registration_state;
@@ -463,6 +462,11 @@ identity_registered (SignonIdentity *identity, DBusGProxy *proxy,
      * execute queued operations or emit errors on each of them
      * */
     priv->registration_state = REGISTERED;
+
+    /*
+     * TODO: if we will add a new state for identity: "INVALID"
+     * consider emission of another error, like "invalid"
+     * */
     _signon_object_ready (identity, identity_object_quark (), error);
 
     /*
@@ -470,11 +474,6 @@ identity_registered (SignonIdentity *identity, DBusGProxy *proxy,
      * request for new registration, but emit
      * same error again and again
      * */
-
-    /*
-     * TODO: as the concept will be changed
-     * consider emission of another error, like "invalid"
-     * */
 }
 
 const GError *