diff options
author | Gary Kramlich <grim@reaperworld.com> | 2022-12-14 03:35:59 -0600 |
---|---|---|
committer | Gary Kramlich <grim@reaperworld.com> | 2022-12-14 03:35:59 -0600 |
commit | 344c125bd3a949bed089f995314f5789344de24d (patch) | |
tree | dd006ab4197ceccc8275c7dcb42e59b39ecac8f2 /finch/gntrequest.c | |
parent | 411808c73b10620e65fa7f36582fe7e1aed6ccf4 (diff) | |
download | pidgin-344c125bd3a949bed089f995314f5789344de24d.tar.gz |
Update Finch for the PurpleAccount deprecations
Testing Done:
Compiled and ran the tests
Reviewed at https://reviews.imfreedom.org/r/2132/
Diffstat (limited to 'finch/gntrequest.c')
-rw-r--r-- | finch/gntrequest.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/finch/gntrequest.c b/finch/gntrequest.c index 9d0d13a4e3..7f0cb9d412 100644 --- a/finch/gntrequest.c +++ b/finch/gntrequest.c @@ -516,10 +516,11 @@ create_list_field(PurpleRequestField *field) static void add_account_to_combo(GntWidget *combo, PurpleAccount *account) { + PurpleContactInfo *info = PURPLE_CONTACT_INFO(account); char *text = NULL; text = g_strdup_printf("%s (%s)", - purple_account_get_username(account), + purple_contact_info_get_username(info), purple_account_get_protocol_name(account)); gnt_combo_box_add_data(GNT_COMBO_BOX(combo), account, text); g_free(text); |