Mercurial > pidgin.yaz
comparison libpurple/protocols/msn/error.c @ 32708:10e5000326a5
Convert code to use the purple_account accessor functions.
author | andrew.victor@mxit.com |
---|---|
date | Sat, 01 Oct 2011 21:04:35 +0000 |
parents | f033f3c49a41 |
children |
comparison
equal
deleted
inserted
replaced
32707:f75041cb3fec | 32708:10e5000326a5 |
---|---|
272 buf = g_strdup_printf(_("MSN Error: %s\n"), | 272 buf = g_strdup_printf(_("MSN Error: %s\n"), |
273 msn_error_get_text(type, &debug)); | 273 msn_error_get_text(type, &debug)); |
274 if (debug) | 274 if (debug) |
275 purple_debug_warning("msn", "error %d: %s\n", type, buf); | 275 purple_debug_warning("msn", "error %d: %s\n", type, buf); |
276 else | 276 else |
277 purple_notify_error(session->account->gc, NULL, buf, NULL); | 277 purple_notify_error(purple_account_get_connection(session->account), NULL, buf, NULL); |
278 g_free(buf); | 278 g_free(buf); |
279 } | 279 } |
280 | 280 |
281 /* Remove the buddy referenced by the MsnAddRemData before the serverside list | 281 /* Remove the buddy referenced by the MsnAddRemData before the serverside list |
282 * is changed. If the buddy will be added, he'll be added back; if he will be | 282 * is changed. If the buddy will be added, he'll be added back; if he will be |