diff -r 71898cf4d20f -r 361c801c4536 libpurple/protocols/jabber/buddy.c --- a/libpurple/protocols/jabber/buddy.c Thu Jun 29 23:14:26 2017 -0500 +++ b/libpurple/protocols/jabber/buddy.c Thu Jun 15 13:33:02 2017 -0500 @@ -485,7 +485,7 @@ } if (js->vcard_timer) { - purple_timeout_remove(js->vcard_timer); + g_source_remove(js->vcard_timer); js->vcard_timer = 0; } @@ -709,7 +709,7 @@ { /* Remove the timeout, which would otherwise trigger jabber_buddy_get_info_timeout() */ if (jbi->timeout_handle > 0) - purple_timeout_remove(jbi->timeout_handle); + g_source_remove(jbi->timeout_handle); g_free(jbi->jid); g_hash_table_destroy(jbi->resources); @@ -977,7 +977,7 @@ * . */ if (js->googletalk) - js->vcard_timer = purple_timeout_add_seconds(10, set_own_vcard_cb, + js->vcard_timer = g_timeout_add_seconds(10, set_own_vcard_cb, js); else jabber_set_info(js->gc, purple_account_get_user_info(account)); @@ -1644,7 +1644,7 @@ } js->pending_buddy_info_requests = g_slist_prepend(js->pending_buddy_info_requests, jbi); - jbi->timeout_handle = purple_timeout_add_seconds(30, jabber_buddy_get_info_timeout, jbi); + jbi->timeout_handle = g_timeout_add_seconds(30, jabber_buddy_get_info_timeout, jbi); } void jabber_buddy_get_info(PurpleConnection *gc, const char *who)