Mercurial > pidgin
changeset 6910:37d1699df8e2
[gaim-migrate @ 7457]
I guess this does look a bit cleaner
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 22 Sep 2003 01:18:47 +0000 |
parents | 31a8936bbccc |
children | b5f948794e43 |
files | plugins/docklet/docklet.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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