--- 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 */