libpurple/protocols/jabber/auth_cyrus.c

branch
soc.2013.gobjectification
changeset 34989
348356cbc657
parent 34977
42e9e59fbf0f
child 34999
90850ff4b5eb
--- a/libpurple/protocols/jabber/auth_cyrus.c	Wed Oct 02 00:24:45 2013 +0530
+++ b/libpurple/protocols/jabber/auth_cyrus.c	Wed Oct 02 00:51:46 2013 +0530
@@ -134,7 +134,7 @@
 	gboolean remember;
 
 	/* The password prompt dialog doesn't get disposed if the account disconnects */
-	if (!PURPLE_CONNECTION_IS_VALID(gc))
+	if (!PURPLE_IS_CONNECTION(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_CONNECTION_IS_VALID(gc))
+	if (!PURPLE_IS_CONNECTION(gc))
 		return;
 
 	account = purple_connection_get_account(gc);

mercurial