diff options
author | eionrobb <eionrobb@8ca6c67d-4297-256d-f884-781da6d5760b> | 2013-08-31 11:38:39 +0400 |
---|---|---|
committer | eionrobb <eionrobb@8ca6c67d-4297-256d-f884-781da6d5760b> | 2013-08-31 11:38:39 +0400 |
commit | 5bf7443b54283157c2c2c94629bb09683df19e2d (patch) | |
tree | 4cebac1a8ba587e022b44f08f98dd4612f462a3a | |
parent | 68d87bcbfae9e47b74145b32c8756b3c058e8120 (diff) |
Fix dlopen() for telepathy
-rw-r--r-- | steam-mobile/libsteam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/steam-mobile/libsteam.c b/steam-mobile/libsteam.c index e6b1d4e..316ffce 100644 --- a/steam-mobile/libsteam.c +++ b/steam-mobile/libsteam.c @@ -62,7 +62,7 @@ dummy_gnome_callback(GnomeKeyringResult result, gpointer user_data) { } 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));
+ purple_debug_error("steam", "Access token not stored (%d)\n", result);
}
}
#endif
@@ -1247,7 +1247,7 @@ static gboolean plugin_load(PurplePlugin *plugin) if (core_is_haze && gnome_keyring_lib == NULL) {
purple_debug_info("steam", "UI Core is Telepathy-Haze, attempting to load Gnome-Keyring\n");
- gnome_keyring_lib = dlopen("libgnome-keyring.so", RTLD_LAZY);
+ gnome_keyring_lib = dlopen("libgnome-keyring.so", RTLD_NOW | RTLD_GLOBAL);
if (!gnome_keyring_lib) {
purple_debug_error("steam", "Could not load Gnome-Keyring library. This plugin requires Gnome-Keyring when used with Telepathy-Haze\n");
return FALSE;
|