comparison libpurple/protocols/mxit/splashscreen.c @ 32672:3828a61c44da

A boring and large patch so I can merge heads.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Fri, 23 Dec 2011 08:21:58 +0000
parents 3a43e48c870e
children
comparison
equal deleted inserted replaced
32671:0e69949b3e61 32672:3828a61c44da
142 * @param gc The connection object 142 * @param gc The connection object
143 * @param fields The list of fields in the accepted form 143 * @param fields The list of fields in the accepted form
144 */ 144 */
145 static void splash_click_ok(PurpleConnection* gc, PurpleRequestFields* fields) 145 static void splash_click_ok(PurpleConnection* gc, PurpleRequestFields* fields)
146 { 146 {
147 struct MXitSession* session = (struct MXitSession*) gc->proto_data; 147 struct MXitSession* session = purple_connection_get_protocol_data(gc);
148 const char* splashId; 148 const char* splashId;
149 149
150 /* Get current splash ID */ 150 /* Get current splash ID */
151 splashId = splash_current(session); 151 splashId = splash_current(session);
152 if (splashId == NULL) /* no splash-screen */ 152 if (splashId == NULL) /* no splash-screen */