comparison src/multi.c @ 1058:4927ce25d8cc

[gaim-migrate @ 1068] idle times for single connections; deleting an account signs it off if need be committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 03 Nov 2000 20:23:38 +0000
parents bde34730789c
children e1408fb04c36
comparison
equal deleted inserted replaced
1057:d50d3abb9eb7 1058:4927ce25d8cc
533 if (GTK_CLIST(list)->selection) 533 if (GTK_CLIST(list)->selection)
534 row = (int)GTK_CLIST(list)->selection->data; 534 row = (int)GTK_CLIST(list)->selection->data;
535 if (row != -1) { 535 if (row != -1) {
536 u = g_list_nth_data(aim_users, row); 536 u = g_list_nth_data(aim_users, row);
537 if (u) { 537 if (u) {
538 if (u->gc)
539 signoff(u->gc);
538 aim_users = g_list_remove(aim_users, u); 540 aim_users = g_list_remove(aim_users, u);
539 save_prefs(); 541 save_prefs();
540 } 542 }
541 gtk_clist_remove(GTK_CLIST(list), row); 543 gtk_clist_remove(GTK_CLIST(list), row);
542 } 544 }