After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 754840 - examples: Print out keys for all the accounts
examples: Print out keys for all the accounts
Status: RESOLVED FIXED
Product: gnome-online-accounts
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: GNOME Online Accounts maintainer(s)
GNOME Online Accounts maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2015-09-10 15:05 UTC by Bastien Nocera
Modified: 2015-09-11 15:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
examples: Print out keys for all the accounts (2.09 KB, patch)
2015-09-10 15:05 UTC, Bastien Nocera
committed Details | Review
examples: Print out keys for all the accounts (1.97 KB, patch)
2015-09-11 15:07 UTC, Debarshi Ray
committed Details | Review

Description Bastien Nocera 2015-09-10 15:05:09 UTC
.
Comment 1 Bastien Nocera 2015-09-10 15:05:14 UTC
Created attachment 311087 [details] [review]
examples: Print out keys for all the accounts

This is useful for debugging applications based on GOA, as well as
debugging backends.
Comment 2 Debarshi Ray 2015-09-11 15:06:28 UTC
Review of attachment 311087 [details] [review]:

::: src/examples/list-accounts.c
@@ +43,3 @@
+             goa_account_get_provider_name (account),
+             goa_account_get_provider_type (account));
+    oauth2 = goa_object_get_oauth2_based (GOA_OBJECT (l->data));

We need to drop the reference on oauth2 once we are done with it.
Comment 3 Debarshi Ray 2015-09-11 15:07:05 UTC
Created attachment 311155 [details] [review]
examples: Print out keys for all the accounts

Fixed and pushed to master.