[gnome-todo] task: transfer ownership of due date



commit 23fe8401e4ba553474370b65150444147589608a
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Thu Sep 28 00:56:40 2017 -0300

    task: transfer ownership of due date

 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 5a8a417..9fc05b0 100644
--- a/src/gtd-task.c
+++ b/src/gtd-task.c
@@ -306,7 +306,7 @@ gtd_task_real_get_due_date (GtdTask *self)
 {
   GtdTaskPrivate *priv = gtd_task_get_instance_private (self);
 
-  return priv->due_date;
+  return priv->due_date ? g_date_time_ref (priv->due_date) : NULL;
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]