[gnome-builder/gnome-builder-3-40] debuggerui: ignore cancelled warning
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/gnome-builder-3-40] debuggerui: ignore cancelled warning
- Date: Fri, 7 May 2021 16:48:07 +0000 (UTC)
commit b7eb246457aa4ffed1739ecd78df5a7d7bc8debc
Author: Christian Hergert <chergert redhat com>
Date: Fri May 7 09:47:51 2021 -0700
debuggerui: ignore cancelled warning
src/plugins/debuggerui/ide-debugger-registers-view.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/plugins/debuggerui/ide-debugger-registers-view.c
b/src/plugins/debuggerui/ide-debugger-registers-view.c
index 9e5fce660..fe5e3d9ad 100644
--- a/src/plugins/debuggerui/ide-debugger-registers-view.c
+++ b/src/plugins/debuggerui/ide-debugger-registers-view.c
@@ -109,7 +109,8 @@ ide_debugger_registers_view_list_registers_cb (GObject *object,
if (error != NULL)
{
- 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]