comparison src/buddy.c @ 1089:f0f5c10cce63

[gaim-migrate @ 1099] added a cancel button to the progress meter committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 13 Nov 2000 02:58:00 +0000
parents 18a14e6dd0af
children 3d6ab4f1fa55
comparison
equal deleted inserted replaced
1088:18a14e6dd0af 1089:f0f5c10cce63
1533 } 1533 }
1534 1534
1535 return g; 1535 return g;
1536 } 1536 }
1537 1537
1538 static int log_timeout(struct buddy_show *b) { 1538 static gint log_timeout(struct buddy_show *b) {
1539 if (!b->connlist) { 1539 if (!b->connlist) {
1540 struct group_show *g = find_gs_by_bs(b); 1540 struct group_show *g = find_gs_by_bs(b);
1541 g->members = g_slist_remove(g->members, b); 1541 g->members = g_slist_remove(g->members, b);
1542 gtk_container_remove(GTK_CONTAINER(g->tree), b->item); 1542 gtk_container_remove(GTK_CONTAINER(g->tree), b->item);
1543 if ((g->members == NULL) && (display_options & OPT_DISP_NO_MT_GRP)) { 1543 if ((g->members == NULL) && (display_options & OPT_DISP_NO_MT_GRP)) {
1544 shows = g_slist_remove(shows, g); 1544 shows = g_slist_remove(shows, g);
1545 gtk_container_remove(GTK_CONTAINER(buddies), g->item); 1545 gtk_container_remove(GTK_CONTAINER(buddies), g->item);
1546 g_free(g->name); 1546 g_free(g->name);
1547 g_free(g); 1547 g_free(g);
1548 } else 1548 }
1549 update_num_group(g);
1550 g_free(b->name); 1549 g_free(b->name);
1551 g_free(b->show); 1550 g_free(b->show);
1552 g_free(b); 1551 g_free(b);
1553 } else { 1552 } else {
1554 /* um.... what do we have to do here? just update the pixmap? */ 1553 /* um.... what do we have to do here? just update the pixmap? */