diff libpurple/protocols/jabber/google/gmail.c @ 32767:2ec94166be43

On the way to hiding the PurpleConnection struct. * Added purple_connection_get_flags() and purple_connection_set_flags() * Use purple_connection_ accessor functions.
author andrew.victor@mxit.com
date Tue, 18 Oct 2011 18:47:48 +0000
parents 34f586bffe4e
children
line wrap: on
line diff
--- a/libpurple/protocols/jabber/google/gmail.c	Tue Oct 18 04:47:58 2011 +0000
+++ b/libpurple/protocols/jabber/google/gmail.c	Tue Oct 18 18:47:48 2011 +0000
@@ -150,7 +150,7 @@
 	JabberIq *iq;
 
 	/* bail if the user isn't interested */
-	if (!purple_account_get_check_mail(js->gc->account))
+	if (!purple_account_get_check_mail(purple_connection_get_account(js->gc)))
 		return;
 
 	/* Is this an initial incoming mail notification? If so, send a request for more info */