[gnome-todo] task-list-item: cleanup code



commit 47766ecbf755c6064b9a47de15f9d4dc5cf5c90f
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Sat Aug 22 22:59:31 2015 -0300

    task-list-item: cleanup code
    
    Remove a leftover.

 src/gtd-task-list-item.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/gtd-task-list-item.c b/src/gtd-task-list-item.c
index 7de2570..a07606a 100644
--- a/src/gtd-task-list-item.c
+++ b/src/gtd-task-list-item.c
@@ -382,6 +382,7 @@ gtd_task_list_item_set_property (GObject      *object,
     case PROP_MODE:
       priv->mode = g_value_get_enum (value);
       gtd_task_list_item__update_thumbnail (self);
+      g_object_notify (object, "mode");
       break;
 
     case PROP_SELECTED:
@@ -437,8 +438,6 @@ gtd_task_list_item_set_property (GObject      *object,
     }
 }
 
-//static void
-
 static void
 gtd_task_list_item_class_init (GtdTaskListItemClass *klass)
 {


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