src/protocols/oscar/oscar.c

changeset 12970
c2f3b4dcf711
parent 12948
0867a553ed26
child 13007
8878d47d3595
equal deleted inserted replaced
12969:823d3591438c 12970:c2f3b4dcf711
7713 *sw = emblems[1]; 7713 *sw = emblems[1];
7714 *nw = emblems[2]; 7714 *nw = emblems[2];
7715 *ne = emblems[3]; 7715 *ne = emblems[3];
7716 } 7716 }
7717 7717
7718 static char *oscar_tooltip_text(GaimBuddy *b, gboolean full) { 7718 static void oscar_tooltip_text(GaimBuddy *b, GString *str, gboolean full) {
7719 GaimConnection *gc = b->account->gc; 7719 GaimConnection *gc = b->account->gc;
7720 OscarData *od = gc->proto_data; 7720 OscarData *od = gc->proto_data;
7721 aim_userinfo_t *userinfo = aim_locate_finduserinfo(od->sess, b->name); 7721 aim_userinfo_t *userinfo = aim_locate_finduserinfo(od->sess, b->name);
7722 GString *str = g_string_new("");
7723 7722
7724 if (GAIM_BUDDY_IS_ONLINE(b)) { 7723 if (GAIM_BUDDY_IS_ONLINE(b)) {
7725 GaimPresence *presence; 7724 GaimPresence *presence;
7726 GaimStatus *status; 7725 GaimStatus *status;
7727 const char *message; 7726 const char *message;
7759 { 7758 {
7760 g_string_append_printf(str, "\n<b>%s:</b> %s", _("Message"), _("<i>(retrieving)</i>")); 7759 g_string_append_printf(str, "\n<b>%s:</b> %s", _("Message"), _("<i>(retrieving)</i>"));
7761 } 7760 }
7762 } 7761 }
7763 } 7762 }
7764
7765 return g_string_free(str, FALSE);
7766 } 7763 }
7767 7764
7768 static char *oscar_status_text(GaimBuddy *b) 7765 static char *oscar_status_text(GaimBuddy *b)
7769 { 7766 {
7770 GaimConnection *gc; 7767 GaimConnection *gc;

mercurial