From 4910b5d73076a9e370489cc9940b25e225fa9484 Mon Sep 17 00:00:00 2001 From: Alexander Akimov Date: Fri, 16 Apr 2010 10:19:01 +0300 Subject: [PATCH] redundant argument: it is not needed as a parameter for storeCredentials operations --- libsignon-glib/signon-identity.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/libsignon-glib/signon-identity.c b/libsignon-glib/signon-identity.c index 48a8851..8e91949 100644 --- a/libsignon-glib/signon-identity.c +++ b/libsignon-glib/signon-identity.c @@ -68,7 +68,6 @@ struct _SignonIdentityPrivate typedef struct _IdentityStoreCredentialsData { - gint id; gchar *username; gchar *secret; gboolean store_secret; @@ -487,7 +486,6 @@ SignonAuthSession *signon_identity_create_session(SignonIdentity *self, * Returns: an instance of an #SignonIdentity. */ void signon_identity_store_credentials_with_info(SignonIdentity *self, - const gint id, const SignonIdentityInfo *info, const gboolean store_secret, const GHashTable *methods, @@ -499,7 +497,6 @@ void signon_identity_store_credentials_with_info(SignonIdentity *self, { g_return_if_fail(info != NULL); signon_identity_store_credentials_with_args(self, - id, info->user_name, info->password, store_secret, @@ -529,7 +526,6 @@ void signon_identity_store_credentials_with_info(SignonIdentity *self, * Returns: an instance of an #SignonIdentity. */ void signon_identity_store_credentials_with_args(SignonIdentity *self, - const gint id, const gchar *username, const gchar *secret, const gboolean store_secret, @@ -560,7 +556,6 @@ void signon_identity_store_credentials_with_args(SignonIdentity *self, IdentityStoreCredentialsData *operation_data = g_slice_new0 (IdentityStoreCredentialsData); - operation_data->id = id; operation_data->username = g_strdup (username); operation_data->secret = g_strdup (secret); operation_data->store_secret = store_secret; @@ -608,7 +603,7 @@ identity_store_credentials_ready_cb (gpointer object, const GError *error, gpoin { (void)com_nokia_singlesignon_SignonIdentity_store_credentials_async( priv->proxy, - operation_data->id, + priv->id, operation_data->username, operation_data->secret, operation_data->store_secret, -- 2.7.4