[gnome-builder] symbol-tree: don't warn on cancelled operations



commit 429e438f81dc68a43f6ff3ea7656142f6b722fee
Author: Christian Hergert <chergert redhat com>
Date:   Mon May 9 10:06:23 2016 +0300

    symbol-tree: don't warn on cancelled operations

 plugins/symbol-tree/symbol-tree-panel.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plugins/symbol-tree/symbol-tree-panel.c b/plugins/symbol-tree/symbol-tree-panel.c
index 26c6ae6..3b431e5 100644
--- a/plugins/symbol-tree/symbol-tree-panel.c
+++ b/plugins/symbol-tree/symbol-tree-panel.c
@@ -80,7 +80,8 @@ get_cached_symbol_tree_cb (GObject      *object,
 
   if (!(symbol_tree = egg_task_cache_get_finish (cache, result, &error)))
     {
-      if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED))
+      if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED) &&
+          !g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED))
         g_warning ("%s", error->message);
       return;
     }


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