comparison libpurple/protocols/irc/parse.c @ 32790:3e7a7e14af62

Our API really shouldn't have a 'gc' in it anymore.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Mon, 24 Oct 2011 05:37:19 +0000
parents 44fc11beefab
children 4a34689eeb33
comparison
equal deleted inserted replaced
32789:fb2458f2326b 32790:3e7a7e14af62
169 { 169 {
170 PurpleConnection *gc; 170 PurpleConnection *gc;
171 struct irc_conn *irc; 171 struct irc_conn *irc;
172 struct _irc_user_cmd *cmdent; 172 struct _irc_user_cmd *cmdent;
173 173
174 gc = purple_conversation_get_gc(conv); 174 gc = purple_conversation_get_connection(conv);
175 if (!gc) 175 if (!gc)
176 return PURPLE_CMD_RET_FAILED; 176 return PURPLE_CMD_RET_FAILED;
177 177
178 irc = purple_connection_get_protocol_data(gc); 178 irc = purple_connection_get_protocol_data(gc);
179 179