[gnome-builder] langserv-client: use JCONE_STRING() properly



commit 28989e813a91159e6fd05c43bf5afa7c213ab359
Author: Christian Hergert <chergert redhat com>
Date:   Sat Oct 29 20:48:57 2016 -0700

    langserv-client: use JCONE_STRING() properly
    
    Clearly, this is the downside to va_list APIs.

 libide/langserv/ide-langserv-symbol-resolver.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/langserv/ide-langserv-symbol-resolver.c b/libide/langserv/ide-langserv-symbol-resolver.c
index 55d33c6..4adc82b 100644
--- a/libide/langserv/ide-langserv-symbol-resolver.c
+++ b/libide/langserv/ide-langserv-symbol-resolver.c
@@ -421,7 +421,7 @@ ide_langserv_symbol_resolver_document_symbol_cb (GObject      *object,
         continue;
 
       /* Optional fields */
-      JCON_EXTRACT (node, "containerName", &container_name);
+      JCON_EXTRACT (node, "containerName", JCONE_STRING (container_name));
 
       file = g_file_new_for_uri (uri);
 


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