summaryrefslogtreecommitdiff
path: root/timerapplet/timerapplet.c
diff options
context:
space:
mode:
authorPavel Shlyak <[email protected]>2019-08-25 19:43:26 +0300
committerraveit65 <[email protected]>2019-08-29 13:47:31 +0200
commite60a233bfb0b619be7cc8119bcebd40d7028efd5 (patch)
treeeb5554d57153221718d16af5e85a585b1b391347 /timerapplet/timerapplet.c
parentf11f56cc8521d7b680adf9da6dc7b6a00634209c (diff)
downloadmate-applets-e60a233bfb0b619be7cc8119bcebd40d7028efd5.tar.bz2
mate-applets-e60a233bfb0b619be7cc8119bcebd40d7028efd5.tar.xz
timerapplet.c: remove reductant condition
Diffstat (limited to 'timerapplet/timerapplet.c')
-rw-r--r--timerapplet/timerapplet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/timerapplet/timerapplet.c b/timerapplet/timerapplet.c
index 47de009c..88c14cef 100644
--- a/timerapplet/timerapplet.c
+++ b/timerapplet/timerapplet.c
@@ -133,7 +133,7 @@ timer_callback (TimerApplet *applet)
}
else
{
- if (applet->active && !applet->pause)
+ if (!applet->pause)
applet->elapsed += STEP;
duration = g_settings_get_int (applet->settings, DURATION_KEY);