comparison libpurple/protocols/msn/error.c @ 32819:2c6510167895 default tip

propagate from branch 'im.pidgin.pidgin.2.x.y' (head 3315c5dfbd0ad16511bdcf865e5b07c02d07df24) to branch 'im.pidgin.pidgin' (head cbd1eda6bcbf0565ae7766396bb8f6f419cb6a9a)
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 02 Jun 2012 02:30:49 +0000
parents 10e5000326a5
children
comparison
equal deleted inserted replaced
32818:01ff09d4a463 32819:2c6510167895
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