Mercurial > pidgin
diff src/protocols/irc/msgs.c @ 7062:86ed8b2aa665
[gaim-migrate @ 7626]
g_show_info_text() is gone! Mwahahaha.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Tue, 30 Sep 2003 06:43:17 +0000 |
parents | 083d1e4a9c78 |
children | 6faeeecab0dc |
line wrap: on
line diff
--- a/src/protocols/irc/msgs.c Tue Sep 30 05:58:48 2003 +0000 +++ b/src/protocols/irc/msgs.c Tue Sep 30 06:43:17 2003 +0000 @@ -22,9 +22,6 @@ #include "internal.h" -/* XXX g_show_info_text */ -#include "gaim.h" - #include "conversation.h" #include "blist.h" #include "notify.h" @@ -170,6 +167,7 @@ { GaimConnection *gc; GString *info; + char buffer[256]; char *str; if (!irc->whois.nick) { @@ -216,7 +214,11 @@ gc = gaim_account_get_connection(irc->account); str = g_string_free(info, FALSE); - g_show_info_text(gc, irc->whois.nick, 2, str, NULL); + + g_snprintf(buffer, sizeof(buffer), + _("Buddy Information for %s"), irc->whois.nick); + gaim_notify_formatted(gc, NULL, buffer, NULL, str, NULL, NULL); + g_free(str); memset(&irc->whois, 0, sizeof(irc->whois)); }