Mercurial > pidgin.yaz
comparison src/connection.c @ 6029:38999b6b1838
[gaim-migrate @ 6479]
This fixes many random problems with oscar not being able to sign on or
getting kicked offline.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 05 Jul 2003 07:36:09 +0000 |
parents | d4caf585f6ff |
children | 547ba881bc7e |
comparison
equal
deleted
inserted
replaced
6028:98407c5019e9 | 6029:38999b6b1838 |
---|---|
170 } | 170 } |
171 | 171 |
172 gaim_connection_destroy(gc); | 172 gaim_connection_destroy(gc); |
173 } | 173 } |
174 | 174 |
175 gboolean | |
176 gaim_connection_disconnect_cb(gpointer data) | |
177 { | |
178 GaimConnection *gc = data; | |
179 | |
180 gaim_connection_disconnect(gc); | |
181 | |
182 return FALSE; | |
183 } | |
184 | |
175 /* | 185 /* |
176 * d:)->-< | 186 * d:)->-< |
177 * | 187 * |
178 * d:O-\-< | 188 * d:O-\-< |
179 * | 189 * |
359 ops = gaim_get_connection_ui_ops(); | 369 ops = gaim_get_connection_ui_ops(); |
360 | 370 |
361 if (ops != NULL && ops->disconnected != NULL) | 371 if (ops != NULL && ops->disconnected != NULL) |
362 ops->disconnected(gc, text); | 372 ops->disconnected(gc, text); |
363 | 373 |
364 gaim_connection_disconnect(gc); | 374 g_timeout_add(0, gaim_connection_disconnect_cb, gc); |
365 } | 375 } |
366 | 376 |
367 void | 377 void |
368 gaim_connections_disconnect_all(void) | 378 gaim_connections_disconnect_all(void) |
369 { | 379 { |