[Xfce4-commits] [xfce/xfce4-power-manager] 01/01: Fix compiler warning (Bug #14104)
noreply at xfce.org
noreply at xfce.org
Tue Dec 19 22:16:13 CET 2017
This is an automated email from the git hooks/post-receive script.
o c h o s i p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfce4-power-manager.
commit 7803611eab0034339d8293e5d4047231021137c4
Author: Stefan Seyfried <stefan.seyfried at googlemail.com>
Date: Tue Dec 19 22:14:37 2017 +0100
Fix compiler warning (Bug #14104)
---
settings/xfpm-settings.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/settings/xfpm-settings.c b/settings/xfpm-settings.c
index 6d3a4f0..bdc3124 100644
--- a/settings/xfpm-settings.c
+++ b/settings/xfpm-settings.c
@@ -1579,9 +1579,9 @@ format_light_locker_value_cb (GtkScale *scale, gdouble value, gpointer data)
if ( (gint)value <= 0 )
return g_strdup (_("Never"));
- else if ( value <= 59.0 )
+ else if ( value < 60.0 )
return g_strdup_printf ("%d %s", (gint)value, _("seconds"));
- else if ( value >= 60.0)
+ else
{
min = (gint)value - 60;
if (min == 0)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list