Mercurial > pidgin.yaz
comparison plugins/yay/yay.c @ 1090:79cdc86ef4c6
[gaim-migrate @ 1100]
necessary checks
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 13 Nov 2000 02:59:23 +0000 |
parents | f0f5c10cce63 |
children | c1dcba9f3a3a |
comparison
equal
deleted
inserted
replaced
1089:f0f5c10cce63 | 1090:79cdc86ef4c6 |
---|---|
208 yd->ctxt = ctxt; | 208 yd->ctxt = ctxt; |
209 | 209 |
210 set_login_progress(gc, 1, "Connecting"); | 210 set_login_progress(gc, 1, "Connecting"); |
211 while (gtk_events_pending()) | 211 while (gtk_events_pending()) |
212 gtk_main_iteration(); | 212 gtk_main_iteration(); |
213 if (!g_slist_find(connections, gc)) | |
214 return; | |
213 | 215 |
214 if (!ctxt || !yahoo_connect(ctxt)) { | 216 if (!ctxt || !yahoo_connect(ctxt)) { |
215 debug_printf("Yahoo: Unable to connect\n"); | 217 debug_printf("Yahoo: Unable to connect\n"); |
216 hide_login_progress(gc, "Unable to connect"); | 218 hide_login_progress(gc, "Unable to connect"); |
217 destroy_gaim_conn(gc); | 219 destroy_gaim_conn(gc); |
221 debug_printf("Yahoo: connected\n"); | 223 debug_printf("Yahoo: connected\n"); |
222 | 224 |
223 set_login_progress(gc, 3, "Getting Config"); | 225 set_login_progress(gc, 3, "Getting Config"); |
224 while (gtk_events_pending()) | 226 while (gtk_events_pending()) |
225 gtk_main_iteration(); | 227 gtk_main_iteration(); |
228 if (!g_slist_find(connections, gc)) | |
229 return; | |
226 | 230 |
227 yahoo_get_config(ctxt); | 231 yahoo_get_config(ctxt); |
228 | 232 |
229 if (yahoo_cmd_logon(ctxt, YAHOO_STATUS_AVAILABLE)) { | 233 if (yahoo_cmd_logon(ctxt, YAHOO_STATUS_AVAILABLE)) { |
230 debug_printf("Yahoo: Unable to login\n"); | 234 debug_printf("Yahoo: Unable to login\n"); |