Mercurial > pidgin.yaz
comparison plugins/yay/yay.c @ 1089:f0f5c10cce63
[gaim-migrate @ 1099]
added a cancel button to the progress meter
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 13 Nov 2000 02:58:00 +0000 |
parents | 0b0b4cb53c17 |
children | 79cdc86ef4c6 |
comparison
equal
deleted
inserted
replaced
1088:18a14e6dd0af | 1089:f0f5c10cce63 |
---|---|
194 yahoo_free_rawpacket(rawpkt); | 194 yahoo_free_rawpacket(rawpkt); |
195 } | 195 } |
196 } | 196 } |
197 | 197 |
198 static void yahoo_login(struct aim_user *user) { | 198 static void yahoo_login(struct aim_user *user) { |
199 struct gaim_connection *gc = new_gaim_conn(PROTO_YAHOO, user->username, user->password); | 199 struct gaim_connection *gc = new_gaim_conn(user); |
200 struct yahoo_data *yd = gc->proto_data = g_new0(struct yahoo_data, 1); | 200 struct yahoo_data *yd = gc->proto_data = g_new0(struct yahoo_data, 1); |
201 int i; | 201 int i; |
202 | 202 |
203 struct yahoo_options opt; | 203 struct yahoo_options opt; |
204 struct yahoo_context *ctxt; | 204 struct yahoo_context *ctxt; |
245 if (!b) add_buddy(gc, bud->group, bud->id, bud->id); | 245 if (!b) add_buddy(gc, bud->group, bud->id, bud->id); |
246 } | 246 } |
247 } | 247 } |
248 | 248 |
249 debug_printf("Yahoo: logged in %s\n", gc->username); | 249 debug_printf("Yahoo: logged in %s\n", gc->username); |
250 account_online(user, gc); | 250 account_online(gc); |
251 serv_finish_login(gc); | 251 serv_finish_login(gc); |
252 | 252 |
253 gc->inpa = gdk_input_add(ctxt->sockfd, GDK_INPUT_READ | GDK_INPUT_EXCEPTION, | 253 gc->inpa = gdk_input_add(ctxt->sockfd, GDK_INPUT_READ | GDK_INPUT_EXCEPTION, |
254 yahoo_callback, gc); | 254 yahoo_callback, gc); |
255 } | 255 } |