diff 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
line wrap: on
line diff
--- a/libpurple/protocols/msn/error.c	Sat Oct 01 18:21:43 2011 +0000
+++ b/libpurple/protocols/msn/error.c	Sat Oct 01 21:04:35 2011 +0000
@@ -274,7 +274,7 @@
 	if (debug)
 		purple_debug_warning("msn", "error %d: %s\n", type, buf);
 	else
-		purple_notify_error(session->account->gc, NULL, buf, NULL);
+		purple_notify_error(purple_account_get_connection(session->account), NULL, buf, NULL);
 	g_free(buf);
 }