diff -r 823d3591438c -r c2f3b4dcf711 src/protocols/oscar/oscar.c --- a/src/protocols/oscar/oscar.c Fri Jan 20 17:24:54 2006 +0000 +++ b/src/protocols/oscar/oscar.c Fri Jan 20 20:35:18 2006 +0000 @@ -7715,11 +7715,10 @@ *ne = emblems[3]; } -static char *oscar_tooltip_text(GaimBuddy *b, gboolean full) { +static void oscar_tooltip_text(GaimBuddy *b, GString *str, gboolean full) { GaimConnection *gc = b->account->gc; OscarData *od = gc->proto_data; aim_userinfo_t *userinfo = aim_locate_finduserinfo(od->sess, b->name); - GString *str = g_string_new(""); if (GAIM_BUDDY_IS_ONLINE(b)) { GaimPresence *presence; @@ -7761,8 +7760,6 @@ } } } - - return g_string_free(str, FALSE); } static char *oscar_status_text(GaimBuddy *b)