# HG changeset patch # User Mark Doliner # Date 1064193527 0 # Node ID 37d1699df8e2a383de4f17965ed24ff09c02e68b # Parent 31a8936bbccc00f45028dcc8ef8980b72ddf82d0 [gaim-migrate @ 7457] I guess this does look a bit cleaner committer: Tailor Script diff -r 31a8936bbccc -r 37d1699df8e2 plugins/docklet/docklet.c --- a/plugins/docklet/docklet.c Sun Sep 21 22:28:10 2003 +0000 +++ b/plugins/docklet/docklet.c Mon Sep 22 01:18:47 2003 +0000 @@ -197,6 +197,7 @@ docklet_blink_icon() { static gboolean blinked = FALSE; + gboolean ret = FALSE; /* by default, don't keep blinking */ blinked = !blinked; @@ -210,7 +211,7 @@ if (ui_ops && ui_ops->update_icon) ui_ops->update_icon(status); } - return TRUE; /* keep blinking */ + ret = TRUE; /* keep blinking */ break; case offline: case offline_connecting: @@ -218,11 +219,10 @@ case online_connecting: case away: blinked = FALSE; - return FALSE; /* no more blinking */ break; } - return FALSE; + return ret; } static gboolean