comparison libpurple/protocols/mxit/splashscreen.c @ 32819:2c6510167895 default tip

propagate from branch 'im.pidgin.pidgin.2.x.y' (head 3315c5dfbd0ad16511bdcf865e5b07c02d07df24) to branch 'im.pidgin.pidgin' (head cbd1eda6bcbf0565ae7766396bb8f6f419cb6a9a)
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 02 Jun 2012 02:30:49 +0000
parents 4b15c5c68aa4
children
comparison
equal deleted inserted replaced
32818:01ff09d4a463 32819:2c6510167895
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 */