[grilo-plugins] flickr: do not create object twice
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] flickr: do not create object twice
- Date: Wed, 19 Nov 2014 14:38:14 +0000 (UTC)
commit 436b43efdd32a17a0779998db88b5b129a365b90
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date: Wed Nov 19 11:13:02 2014 +0000
flickr: do not create object twice
When GOA_ENABLED we are creating twice a GFlickr object, when only once is
needed.
src/flickr/grl-flickr.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/flickr/grl-flickr.c b/src/flickr/grl-flickr.c
index 268228b..47ce322 100644
--- a/src/flickr/grl-flickr.c
+++ b/src/flickr/grl-flickr.c
@@ -307,9 +307,6 @@ grl_flickr_source_personal_new (GrlPlugin *plugin,
data->plugin = plugin;
data->goa_account_id = goa_account_id;
- f = g_flickr_new (flickr_api_key, flickr_secret,
- flickr_token, flickr_token_secret);
-
g_flickr_auth_checkToken (f, flickr_token, token_info_cb,
(gpointer) data);
#else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]