Mercurial > pidgin
comparison src/buddy.c @ 1061:04cce2035541
[gaim-migrate @ 1071]
this should put an end to a few of the stupid buddy list segfaults i've seen so far
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 04 Nov 2000 00:19:15 +0000 |
parents | 4927ce25d8cc |
children | e1408fb04c36 |
comparison
equal
deleted
inserted
replaced
1060:2c4f958c596e | 1061:04cce2035541 |
---|---|
1517 gdk_pixmap_unref(pm); | 1517 gdk_pixmap_unref(pm); |
1518 gdk_bitmap_unref(bm); | 1518 gdk_bitmap_unref(bm); |
1519 } | 1519 } |
1520 update_idle_time(bs); | 1520 update_idle_time(bs); |
1521 } else { | 1521 } else { |
1522 gs = find_group_show(g->name); | |
1523 if (!gs) return; | |
1524 bs = find_buddy_show(gs, b->name); | |
1525 if (!bs) return; | |
1522 play_sound(BUDDY_LEAVE); | 1526 play_sound(BUDDY_LEAVE); |
1523 gs = find_group_show(g->name); | |
1524 bs = find_buddy_show(gs, b->name); | |
1525 if (!bs) | |
1526 return; | |
1527 bs->connlist = g_slist_remove(bs->connlist, gc); | 1527 bs->connlist = g_slist_remove(bs->connlist, gc); |
1528 if (bs->log_timer > 0) | 1528 if (bs->log_timer > 0) |
1529 gtk_timeout_remove(bs->log_timer); | 1529 gtk_timeout_remove(bs->log_timer); |
1530 bs->log_timer = gtk_timeout_add(10000, (GtkFunction)log_timeout, bs); | 1530 bs->log_timer = gtk_timeout_add(10000, (GtkFunction)log_timeout, bs); |
1531 pm = gdk_pixmap_create_from_xpm_d(blist->window, &bm, NULL, logout_icon_xpm); | 1531 pm = gdk_pixmap_create_from_xpm_d(blist->window, &bm, NULL, logout_icon_xpm); |