Mercurial > pidgin.yaz
comparison libpurple/protocols/silc/silc.c @ 32707:f75041cb3fec
Convert libpurple and protocol prpl's to use the purple_account_* accessor functions.
author | andrew.victor@mxit.com |
---|---|
date | Sat, 01 Oct 2011 18:21:43 +0000 |
parents | c6943fd38d44 |
children | 10e5000326a5 |
comparison
equal
deleted
inserted
replaced
32706:6e27091869eb | 32707:f75041cb3fec |
---|---|
1591 buf = g_strdup_printf(_("current topic is: %s"), tmp2); | 1591 buf = g_strdup_printf(_("current topic is: %s"), tmp2); |
1592 g_free(tmp); | 1592 g_free(tmp); |
1593 g_free(tmp2); | 1593 g_free(tmp2); |
1594 } else | 1594 } else |
1595 buf = g_strdup(_("No topic is set")); | 1595 buf = g_strdup(_("No topic is set")); |
1596 purple_conv_chat_write(PURPLE_CONV_CHAT(conv), gc->account->username, buf, | 1596 purple_conv_chat_write(PURPLE_CONV_CHAT(conv), purple_account_get_username(gc->account), buf, |
1597 PURPLE_MESSAGE_SYSTEM|PURPLE_MESSAGE_NO_LOG, time(NULL)); | 1597 PURPLE_MESSAGE_SYSTEM|PURPLE_MESSAGE_NO_LOG, time(NULL)); |
1598 g_free(buf); | 1598 g_free(buf); |
1599 | 1599 |
1600 } | 1600 } |
1601 | 1601 |