[gnome-todo] task: fix compare condition
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] task: fix compare condition
- Date: Thu, 25 Jun 2015 03:42:55 +0000 (UTC)
commit 05a3068ae7cdae4177bf05659a58bc556f6d44ca
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Thu Jun 25 00:36:26 2015 -0300
task: fix compare condition
src/gtd-task.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gtd-task.c b/src/gtd-task.c
index ec23c92..8bbd0fc 100644
--- a/src/gtd-task.c
+++ b/src/gtd-task.c
@@ -895,7 +895,7 @@ gtd_task_compare (GtdTask *t1,
else if (!dt2)
retval = -1;
else
- retval = -1 * g_date_time_compare (dt1, dt2);
+ retval = g_date_time_compare (dt1, dt2);
if (dt1)
g_date_time_unref (dt1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]