Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/EionRobb/pidgin-opensteamworks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreionrobb <eionrobb@8ca6c67d-4297-256d-f884-781da6d5760b>2013-08-24 09:52:00 +0400
committereionrobb <eionrobb@8ca6c67d-4297-256d-f884-781da6d5760b>2013-08-24 09:52:00 +0400
commit68d87bcbfae9e47b74145b32c8756b3c058e8120 (patch)
tree127a9a549623cb6ef9f0bd1ba14126f7486d6d49
parent62b5dccd65fc3e0b61405530d4326d6d5f62d655 (diff)
Added debug to dummy callback to help track down why access-tokens aren't being saved with GnomeKeyring
-rw-r--r--steam-mobile/libsteam.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/steam-mobile/libsteam.c b/steam-mobile/libsteam.c
index 64960b1..e6b1d4e 100644
--- a/steam-mobile/libsteam.c
+++ b/steam-mobile/libsteam.c
@@ -57,6 +57,13 @@ steam_account_get_access_token(SteamAccount *sa) {
static void
dummy_gnome_callback(GnomeKeyringResult result, gpointer user_data) {
// Gnome keyring throws toys out of cots if there's no callback!
+ if (result == GNOME_KEYRING_RESULT_OK) {
+ purple_debug_info("steam", "Access token stored OK\n");
+ } else if (result == GNOME_KEYRING_RESULT_CANCELLED) {
+ purple_debug_error("steam", "Access token not stored, user cancelled\n");
+ } else {
+ purple_debug_error("steam", "Access token not stored, %s\n", gnome_keyring_result_to_message(result));
+ }
}
#endif