Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
32766:ea2b621fd3ba | 32767:2ec94166be43 |
---|---|
216 g_free(url); | 216 g_free(url); |
217 jox->js = js; | 217 jox->js = js; |
218 jox->headers = g_string_new(""); | 218 jox->headers = g_string_new(""); |
219 jox->iq_id = g_strdup(id); | 219 jox->iq_id = g_strdup(id); |
220 | 220 |
221 xfer = purple_xfer_new(js->gc->account, PURPLE_XFER_RECEIVE, from); | 221 xfer = purple_xfer_new(purple_connection_get_account(js->gc), PURPLE_XFER_RECEIVE, from); |
222 if (xfer) | 222 if (xfer) |
223 { | 223 { |
224 purple_xfer_set_protocol_data(xfer, jox); | 224 purple_xfer_set_protocol_data(xfer, jox); |
225 | 225 |
226 if(!(filename = g_strdup(g_strrstr(jox->page, "/")))) | 226 if(!(filename = g_strdup(g_strrstr(jox->page, "/")))) |