[gnome-builder] xml-pack: fix path creation from node
- From: Sébastien Lafargue <slafargue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] xml-pack: fix path creation from node
- Date: Wed, 19 Jul 2017 10:14:29 +0000 (UTC)
commit cfefe89b6133d6571a9af5954708d3378b2ec838
Author: Sebastien Lafargue <slafargue gnome org>
Date: Wed Jul 19 12:06:54 2017 +0200
xml-pack: fix path creation from node
plugins/xml-pack/ide-xml-path.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/plugins/xml-pack/ide-xml-path.c b/plugins/xml-pack/ide-xml-path.c
index 9a9a687..1e3b0c5 100644
--- a/plugins/xml-pack/ide-xml-path.c
+++ b/plugins/xml-pack/ide-xml-path.c
@@ -77,16 +77,11 @@ ide_xml_path_new_from_node (IdeXmlSymbolNode *node)
self = ide_xml_path_new ();
-#if 0
do
{
ide_xml_path_append_node (self, node);
- //node = node->parent;
+ node = ide_xml_symbol_node_get_parent (node);
} while (node != NULL);
-#else
- if (node != NULL)
- ide_xml_path_append_node (self, node);
-#endif
return self;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]