libpurple/connection.c

changeset 15871
f04b79ef48f0
parent 15848
44463a06e833
child 15881
e703d885d122
child 15884
4de1981757fc
child 15886
13ed89c4f01d
equal deleted inserted replaced
15870:845136ee546d 15871:f04b79ef48f0
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

mercurial