[gnome-builder/wip/slaf/xml-symbol-resolver: 7/25] xml symbol resolver: use kind for the nodes
- From: Sébastien Lafargue <slafargue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/slaf/xml-symbol-resolver: 7/25] xml symbol resolver: use kind for the nodes
- Date: Wed, 8 Feb 2017 19:24:24 +0000 (UTC)
commit 136037f4443a98049fdd21b660785a9565478ef0
Author: Sebastien Lafargue <slafargue gnome org>
Date: Sun Jan 22 12:43:46 2017 +0100
xml symbol resolver: use kind for the nodes
plugins/xml-pack/ide-xml-symbol-node.c | 3 ++-
plugins/xml-pack/ide-xml-symbol-node.h | 1 +
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/plugins/xml-pack/ide-xml-symbol-node.c b/plugins/xml-pack/ide-xml-symbol-node.c
index 30ab3df..c1005a9 100644
--- a/plugins/xml-pack/ide-xml-symbol-node.c
+++ b/plugins/xml-pack/ide-xml-symbol-node.c
@@ -120,6 +120,7 @@ ide_xml_symbol_node_init (IdeXmlSymbolNode *self)
IdeXmlSymbolNode *
ide_xml_symbol_node_new (const gchar *name,
+ IdeSymbolKind kind,
GFile *file,
guint line,
guint line_offset)
@@ -132,7 +133,7 @@ ide_xml_symbol_node_new (const gchar *name,
self = g_object_new (IDE_TYPE_XML_SYMBOL_NODE,
"name", name,
- "kind", IDE_SYMBOL_NONE,
+ "kind", kind,
"flags", flags,
NULL);
diff --git a/plugins/xml-pack/ide-xml-symbol-node.h b/plugins/xml-pack/ide-xml-symbol-node.h
index 3c9f6fa..613beba 100644
--- a/plugins/xml-pack/ide-xml-symbol-node.h
+++ b/plugins/xml-pack/ide-xml-symbol-node.h
@@ -30,6 +30,7 @@ G_BEGIN_DECLS
G_DECLARE_FINAL_TYPE (IdeXmlSymbolNode, ide_xml_symbol_node, IDE, XML_SYMBOL_NODE, IdeSymbolNode)
IdeXmlSymbolNode *ide_xml_symbol_node_new (const gchar *name,
+ IdeSymbolKind kind,
GFile *file,
guint line,
guint line_offset);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]