diff -r 0da91f053305 -r f802660eaef2 pidgin/gtknotify.c --- a/pidgin/gtknotify.c Mon Dec 12 00:47:54 2022 -0600 +++ b/pidgin/gtknotify.c Mon Dec 12 00:57:49 2022 -0600 @@ -116,6 +116,7 @@ static void pidgin_widget_decorate_account(GtkWidget *cont, PurpleAccount *account) { + PurpleContactInfo *info = NULL; PurpleProtocol *protocol = NULL; GtkWidget *image; const gchar *icon_name = NULL; @@ -123,13 +124,13 @@ if (!account) return; + info = PURPLE_CONTACT_INFO(account); protocol = purple_account_get_protocol(account); icon_name = purple_protocol_get_icon_name(protocol); image = gtk_image_new_from_icon_name(icon_name); - gtk_widget_set_tooltip_text(image, - purple_account_get_username(account)); + gtk_widget_set_tooltip_text(image, purple_contact_info_get_username(info)); if (GTK_IS_BOX(cont)) { gtk_widget_set_halign(image, GTK_ALIGN_START); @@ -539,7 +540,7 @@ { char key[256]; g_snprintf(key, sizeof(key), "%s - %s", - purple_account_get_username(account), + purple_contact_info_get_username(PURPLE_CONTACT_INFO(account)), purple_normalize(account, who)); return g_utf8_strup(key, -1); }