Mercurial > pidgin
diff libpurple/protocols/sametime/sametime.c @ 32238:1f68af4afe67
Use purple_conversation accessor methods.
author | andrew.victor@mxit.com |
---|---|
date | Sat, 01 Oct 2011 15:03:57 +0000 |
parents | c6943fd38d44 |
children | f75041cb3fec |
line wrap: on
line diff
--- a/libpurple/protocols/sametime/sametime.c Sat Oct 01 13:49:37 2011 +0000 +++ b/libpurple/protocols/sametime/sametime.c Sat Oct 01 15:03:57 2011 +0000 @@ -2480,12 +2480,12 @@ text = g_strconcat(_("Unable to send message: "), tmp, NULL); gconv = convo_get_gconv(conv); - if(gconv && !purple_conv_present_error(idb->user, gconv->account, text)) { + if(gconv && !purple_conv_present_error(idb->user, purple_conversation_get_account(gconv), text)) { g_free(text); text = g_strdup_printf(_("Unable to send message to %s:"), (idb->user)? idb->user: "(unknown)"); - purple_notify_error(purple_account_get_connection(gconv->account), + purple_notify_error(purple_account_get_connection(purple_conversation_get_account(gconv)), NULL, text, tmp); }