diff libpurple/protocols/jabber/oob.c @ 32767:2ec94166be43

On the way to hiding the PurpleConnection struct. * Added purple_connection_get_flags() and purple_connection_set_flags() * Use purple_connection_ accessor functions.
author andrew.victor@mxit.com
date Tue, 18 Oct 2011 18:47:48 +0000
parents e164f7815b52
children fb5b5f6cf111
line wrap: on
line diff
--- a/libpurple/protocols/jabber/oob.c	Tue Oct 18 04:47:58 2011 +0000
+++ b/libpurple/protocols/jabber/oob.c	Tue Oct 18 18:47:48 2011 +0000
@@ -218,7 +218,7 @@
 	jox->headers = g_string_new("");
 	jox->iq_id = g_strdup(id);
 
-	xfer = purple_xfer_new(js->gc->account, PURPLE_XFER_RECEIVE, from);
+	xfer = purple_xfer_new(purple_connection_get_account(js->gc), PURPLE_XFER_RECEIVE, from);
 	if (xfer)
 	{
 		purple_xfer_set_protocol_data(xfer, jox);