[gnome-todo] task-list-view: Properly initialize GValue



commit 642de83807bbd0017dfe1304412fa70b2d6606bd
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Thu Feb 20 00:31:43 2020 -0300

    task-list-view: Properly initialize GValue

 src/task-list-view/gtd-task-list-view.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/task-list-view/gtd-task-list-view.c b/src/task-list-view/gtd-task-list-view.c
index 8d1a4bf..3c08afe 100644
--- a/src/task-list-view/gtd-task-list-view.c
+++ b/src/task-list-view/gtd-task-list-view.c
@@ -747,7 +747,7 @@ get_task_from_drag (GtdTaskListView *self,
 {
   g_autoptr (GdkContentProvider) content = NULL;
   g_autoptr (GError) error = NULL;
-  GValue value;
+  GValue value = G_VALUE_INIT;
 
   g_object_get (drag, "content", &content, NULL);
   if (!content)


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