summaryrefslogtreecommitdiff
path: root/libpurple/util.c
diff options
context:
space:
mode:
authorGary Kramlich <grim@reaperworld.com>2022-05-20 01:34:32 -0500
committerGary Kramlich <grim@reaperworld.com>2022-05-20 01:34:32 -0500
commit3436319912420c41427b826017bc528c5138c074 (patch)
treec6e08a402bb2df1eb992dad3b737a726147f7ad5 /libpurple/util.c
parenta18eaf9f345b7acb445a21249bc0410923b931d5 (diff)
downloadpidgin-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.c2
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);