[gnome-builder] langserv-client: steal file instead of creating a new one
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] langserv-client: steal file instead of creating a new one
- Date: Wed, 26 Oct 2016 21:19:42 +0000 (UTC)
commit 1d163551d50d0b27ece3456f6771170a8eb5e0ac
Author: Christian Hergert <chergert redhat com>
Date: Wed Oct 26 14:12:47 2016 -0700
langserv-client: steal file instead of creating a new one
libide/langserv/ide-langserv-client.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/langserv/ide-langserv-client.c b/libide/langserv/ide-langserv-client.c
index 458821e..c31bf15 100644
--- a/libide/langserv/ide-langserv-client.c
+++ b/libide/langserv/ide-langserv-client.c
@@ -574,7 +574,7 @@ ide_langserv_client_text_document_publish_diagnostics (IdeLangservClient *self,
NULL);
g_hash_table_insert (priv->diagnostics_by_file,
- g_file_new_for_uri (uri),
+ g_steal_pointer (&file),
ide_langserv_client_translate_diagnostics (self, ifile, json_diagnostics));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]