[gnome-builder] todo: use contextual logging



commit 9e7086a2d6e73214b0ea4da6446197f47cc9551a
Author: Christian Hergert <chergert redhat com>
Date:   Sat Jan 6 02:05:02 2018 -0800

    todo: use contextual logging

 src/plugins/todo/gbp-todo-workbench-addin.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/todo/gbp-todo-workbench-addin.c b/src/plugins/todo/gbp-todo-workbench-addin.c
index bb36855..8fa263a 100644
--- a/src/plugins/todo/gbp-todo-workbench-addin.c
+++ b/src/plugins/todo/gbp-todo-workbench-addin.c
@@ -45,7 +45,7 @@ gbp_todo_workbench_addin_mine_cb (GObject      *object,
   g_assert (GBP_IS_TODO_MODEL (model));
 
   if (!gbp_todo_model_mine_finish (model, result, &error))
-    g_warning ("%s", error->message);
+    ide_widget_warning (self->panel, "todo: %s", error->message);
 }
 
 static void


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