# HG changeset patch # User Mark Doliner # Date 1047657668 0 # Node ID 1cc75c5e16b087e46472a683bb24139cbc464553 # Parent a7f2b699c0bceba51ac44b1b0a5e7d21fa01ff84 [gaim-migrate @ 5092] This fixes the crash from signing on then signing off again in less than 10 seconds. It also fixes the "you have signed on too many times, wait 10 minutes then try again" crash. It's like butter. diff -r a7f2b699c0bc -r 1cc75c5e16b0 src/buddy.c --- a/src/buddy.c Fri Mar 14 15:45:38 2003 +0000 +++ b/src/buddy.c Fri Mar 14 16:01:08 2003 +0000 @@ -631,6 +631,8 @@ g_free(filename); gtknode = GAIM_GTK_BLIST_NODE((GaimBlistNode*)b); + if (gtknode->timer > 0) + g_source_remove(gtknode->timer); gtknode->timer = g_timeout_add(10000, (GSourceFunc)gaim_reset_present_icon, b); /* "Hey, what's all this crap?" you ask. Status icons will be themeable too, and