libpurple/protocols/jabber/auth_cyrus.c

branch
soc.2013.gobjectification
changeset 34999
90850ff4b5eb
parent 34989
348356cbc657
child 35053
fbbbbf02ffbb
--- a/libpurple/protocols/jabber/auth_cyrus.c	Thu Oct 03 01:33:59 2013 +0530
+++ b/libpurple/protocols/jabber/auth_cyrus.c	Thu Oct 03 02:08:55 2013 +0530
@@ -134,7 +134,7 @@
 	gboolean remember;
 
 	/* The password prompt dialog doesn't get disposed if the account disconnects */
-	if (!PURPLE_IS_CONNECTION(gc))
+	if (!PURPLE_CONNECTION_IS_VALID(gc))
 		return;
 
 	account = purple_connection_get_account(gc);
@@ -168,7 +168,7 @@
 	PurpleAccount *account;
 
 	/* The password prompt dialog doesn't get disposed if the account disconnects */
-	if (!PURPLE_IS_CONNECTION(gc))
+	if (!PURPLE_CONNECTION_IS_VALID(gc))
 		return;
 
 	account = purple_connection_get_account(gc);

mercurial