[gnome-todo] manager: fix new uid setup
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] manager: fix new uid setup
- Date: Thu, 25 Jun 2015 04:47:23 +0000 (UTC)
commit c364d2d9b575f5a99215492c4ae0b263282ed706
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Thu Jun 25 01:46:59 2015 -0300
manager: fix new uid setup
src/gtd-manager.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/src/gtd-manager.c b/src/gtd-manager.c
index c44643f..a1d0fb1 100644
--- a/src/gtd-manager.c
+++ b/src/gtd-manager.c
@@ -473,11 +473,8 @@ gtd_manager__create_task_finished (GObject *client,
}
else
{
- GDateTime *today;
GDateTime *dt;
- today = g_date_time_new_now_local ();
-
/*
* Add in 'Today' and/or 'Scheduled' lists.
*/
@@ -495,11 +492,10 @@ gtd_manager__create_task_finished (GObject *client,
*/
if (new_uid)
{
- gtd_object_set_uid (GTD_OBJECT (user_data), new_uid);
+ gtd_object_set_uid (GTD_OBJECT (data->data), new_uid);
g_free (new_uid);
}
- g_clear_pointer (&dt, g_date_time_unref);
g_free (data);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]