| 444 if (gc->disconnect_timeout) |
444 if (gc->disconnect_timeout) |
| 445 return; |
445 return; |
| 446 |
446 |
| 447 ops = gaim_connections_get_ui_ops(); |
447 ops = gaim_connections_get_ui_ops(); |
| 448 |
448 |
| 449 if (ops != NULL) { |
449 if (ops != NULL && ops->report_disconnect != NULL) |
| 450 if (ops->report_disconnect != NULL) |
450 ops->report_disconnect(gc, text); |
| 451 ops->report_disconnect(gc, text); |
|
| 452 } |
|
| 453 |
451 |
| 454 gc->disconnect_timeout = gaim_timeout_add(0, gaim_connection_disconnect_cb, |
452 gc->disconnect_timeout = gaim_timeout_add(0, gaim_connection_disconnect_cb, |
| 455 gaim_connection_get_account(gc)); |
453 gaim_connection_get_account(gc)); |
| 456 } |
454 } |
| 457 |
455 |