libpurple/protocols/zephyr/zephyr.c

changeset 32624
f957ad287bcc
parent 32613
cc59a239bdb9
child 32678
01f6312a4a7b
--- a/libpurple/protocols/zephyr/zephyr.c	Sat Oct 01 18:21:43 2011 +0000
+++ b/libpurple/protocols/zephyr/zephyr.c	Sat Oct 01 21:04:35 2011 +0000
@@ -1842,7 +1842,7 @@
 	if (zephyr_subscribe_to(zephyr,"MESSAGE","PERSONAL",zephyr->username,NULL) != ZERR_NONE) {
 		/* XXX don't translate this yet. It could be written better */
 		/* XXX error messages could be handled with more detail */
-		purple_notify_error(account->gc, NULL,
+		purple_notify_error(purple_account_get_connection(account), NULL,
 				  "Unable to subscribe to messages", "Unable to subscribe to initial messages");
 		return;
 	}

mercurial