diff libpurple/protocols/myspace/zap.c @ 32827:4a34689eeb33 default tip

merged from im.pidgin.pidgin
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Sat, 19 Nov 2011 14:42:54 +0900
parents 2ec94166be43
children
line wrap: on
line diff
--- a/libpurple/protocols/myspace/zap.c	Mon Sep 26 14:57:21 2011 +0900
+++ b/libpurple/protocols/myspace/zap.c	Sat Nov 19 14:42:54 2011 +0900
@@ -135,7 +135,7 @@
 	session = purple_connection_get_protocol_data(gc);
 
 	/* Look for this attention type, by the code index given. */
-	types = msim_attention_types(gc->account);
+	types = msim_attention_types(purple_connection_get_account(gc));
 	attn = (PurpleAttentionType *)g_list_nth_data(types, code);
 
 	if (!attn) {