From cea9427b5ad8756e0637d0b1ebaf8876197a2646 Mon Sep 17 00:00:00 2001 From: Alexander Akimov Date: Tue, 29 Jun 2010 10:24:52 +0300 Subject: [PATCH] remove obsolete variable from private structure --- libsignon-glib/signon-identity.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/libsignon-glib/signon-identity.c b/libsignon-glib/signon-identity.c index 65f95ca..ed17698 100644 --- a/libsignon-glib/signon-identity.c +++ b/libsignon-glib/signon-identity.c @@ -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 * -- 2.7.4