libpurple/protocols/mxit/splashscreen.c

branch
cpw.qulogic.gtk3
changeset 32438
dc8991868906
parent 29193
e07ecf0ae368
child 33052
df92c3d93904
child 33828
7a40d62c81d8
--- a/libpurple/protocols/mxit/splashscreen.c	Mon Aug 22 22:46:08 2011 +0000
+++ b/libpurple/protocols/mxit/splashscreen.c	Fri Dec 23 08:21:58 2011 +0000
@@ -144,7 +144,7 @@
  */
 static void splash_click_ok(PurpleConnection* gc, PurpleRequestFields* fields)
 {
-	struct MXitSession*	session	= (struct MXitSession*) gc->proto_data;
+	struct MXitSession*	session	= purple_connection_get_protocol_data(gc);
 	const char* splashId;
 
 	/* Get current splash ID */

mercurial