libpurple/protocols/gg/oauth/oauth-purple.c

branch
soc.2013.gobjectification
changeset 34989
348356cbc657
parent 34935
686fa55b0deb
child 34999
90850ff4b5eb
--- a/libpurple/protocols/gg/oauth/oauth-purple.c	Wed Oct 02 00:24:45 2013 +0530
+++ b/libpurple/protocols/gg/oauth/oauth-purple.c	Wed Oct 02 00:51:46 2013 +0530
@@ -115,7 +115,7 @@
 	gboolean succ = TRUE;
 	const gchar *xml_raw;
 
-	if (!PURPLE_CONNECTION_IS_VALID(data->gc))
+	if (!PURPLE_IS_CONNECTION(data->gc))
 	{
 		ggp_oauth_data_free(data);
 		return;
@@ -185,7 +185,7 @@
 	const char *url = "http://api.gadu-gadu.pl/access_token";
 	int response_code;
 
-	if (!PURPLE_CONNECTION_IS_VALID(data->gc))
+	if (!PURPLE_IS_CONNECTION(data->gc))
 	{
 		ggp_oauth_data_free(data);
 		return;

mercurial