[gnome-todo] list-selector-grid-item: plug unref over non-owned reference
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] list-selector-grid-item: plug unref over non-owned reference
- Date: Thu, 1 Dec 2016 01:48:56 +0000 (UTC)
commit abf31ab1481f09f572f73063cc102ffad52628a4
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed Nov 30 23:44:35 2016 -0200
list-selector-grid-item: plug unref over non-owned reference
https://bugzilla.gnome.org/show_bug.cgi?id=774731
src/views/gtd-list-selector-grid-item.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/views/gtd-list-selector-grid-item.c b/src/views/gtd-list-selector-grid-item.c
index 00acb26..4468ce8 100644
--- a/src/views/gtd-list-selector-grid-item.c
+++ b/src/views/gtd-list-selector-grid-item.c
@@ -499,7 +499,7 @@ gtd_list_selector_grid_item_set_property (GObject *object,
break;
case PROP_TASK_LIST:
- self->list = g_value_get_object (value);
+ self->list = g_value_dup_object (value);
g_object_bind_property (self->list,
"name",
self->title_label,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]