[gnome-builder] source-view: don't warn if there is no resolver
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] source-view: don't warn if there is no resolver
- Date: Tue, 8 Mar 2016 05:59:06 +0000 (UTC)
commit 9bb6b209b25777d1ff2798129e2e93547f42edc5
Author: Christian Hergert <christian hergert me>
Date: Mon Mar 7 21:58:54 2016 -0800
source-view: don't warn if there is no resolver
libide/ide-source-view.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libide/ide-source-view.c b/libide/ide-source-view.c
index eb7f2ba..86708e9 100644
--- a/libide/ide-source-view.c
+++ b/libide/ide-source-view.c
@@ -2604,7 +2604,8 @@ ide_source_view_get_definition_on_mouse_over_cb (GObject *object,
if (symbol == NULL)
{
- g_warning ("%s", error->message);
+ if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED))
+ g_warning ("%s", error->message);
IDE_EXIT;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]