[gthumb] web service: do not delete the previous account when creating a new one
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] web service: do not delete the previous account when creating a new one
- Date: Sun, 7 Jul 2013 11:31:16 +0000 (UTC)
commit c1bcda0abe9b2fe8618cb89b8e6e5f2a14aa26d4
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Jul 7 13:27:59 2013 +0200
web service: do not delete the previous account when creating a new one
extensions/oauth/web-service.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/extensions/oauth/web-service.c b/extensions/oauth/web-service.c
index 48627ef..4c729a3 100644
--- a/extensions/oauth/web-service.c
+++ b/extensions/oauth/web-service.c
@@ -406,7 +406,7 @@ set_current_account (WebService *self,
if (self->priv->account == account)
return;
- link = g_list_find_custom (self->priv->accounts, self->priv->account, (GCompareFunc)
oauth_account_cmp);
+ link = g_list_find_custom (self->priv->accounts, account, (GCompareFunc) oauth_account_cmp);
if (link != NULL) {
self->priv->accounts = g_list_remove_link (self->priv->accounts, link);
_g_object_list_unref (link);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]