diff options
author | Gary Kramlich <grim@reaperworld.com> | 2022-05-20 01:34:32 -0500 |
---|---|---|
committer | Gary Kramlich <grim@reaperworld.com> | 2022-05-20 01:34:32 -0500 |
commit | 3436319912420c41427b826017bc528c5138c074 (patch) | |
tree | c6e08a402bb2df1eb992dad3b737a726147f7ad5 /libpurple/util.c | |
parent | a18eaf9f345b7acb445a21249bc0410923b931d5 (diff) | |
download | pidgin-3436319912420c41427b826017bc528c5138c074.tar.gz |
Remove the ui parameter from purple_account_[gs]et_enabled
Testing Done:
Enabled and disabled the demo account a bunch of times, including restarts, and the like.
Reviewed at https://reviews.imfreedom.org/r/1458/
Diffstat (limited to 'libpurple/util.c')
-rw-r--r-- | libpurple/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpurple/util.c b/libpurple/util.c index 5abcc74c12..cc7be286e9 100644 --- a/libpurple/util.c +++ b/libpurple/util.c @@ -1147,7 +1147,7 @@ void purple_util_set_current_song(const char *title, const char *artist, const c PurplePresence *presence; PurpleStatus *tune; PurpleAccount *account = list->data; - if (!purple_account_get_enabled(account, purple_core_get_ui())) + if (!purple_account_get_enabled(account)) continue; presence = purple_account_get_presence(account); |