# HG changeset patch # User Mark Doliner # Date 1047657668 0 # Node ID 75f0c2799664cc61b64895626958c9a7f8f357df # Parent 6fe8008d6560e036a67fd3a53dcca198d275df88 [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. committer: Tailor Script diff -r 6fe8008d6560 -r 75f0c2799664 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