[gthumb/gthumb-3-2] 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/gthumb-3-2] web service: do not delete the previous account when creating a new one
- Date: Sun, 7 Jul 2013 11:33:04 +0000 (UTC)
commit 9810b6bdf76a6e776a0f59a3ee86671beb465770
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 adb0722..743632d 100644
--- a/extensions/oauth/web-service.c
+++ b/extensions/oauth/web-service.c
@@ -410,7 +410,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]