[gnome-builder] symbol-tree-builder: check for use-markup
- From: Sébastien Lafargue <slafargue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] symbol-tree-builder: check for use-markup
- Date: Tue, 14 Feb 2017 22:00:05 +0000 (UTC)
commit 1152e71cd4387b5ff3b3f3f6f5667ff895e87fc9
Author: Sebastien Lafargue <slafargue gnome org>
Date: Tue Jan 31 17:20:30 2017 +0100
symbol-tree-builder: check for use-markup
plugins/symbol-tree/symbol-tree-builder.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plugins/symbol-tree/symbol-tree-builder.c b/plugins/symbol-tree/symbol-tree-builder.c
index 6852e12..bb17498 100644
--- a/plugins/symbol-tree/symbol-tree-builder.c
+++ b/plugins/symbol-tree/symbol-tree-builder.c
@@ -65,10 +65,12 @@ symbol_tree_builder_build_node (IdeTreeBuilder *builder,
IdeTreeNode *child;
IdeSymbolKind kind;
gboolean has_children;
+ gboolean use_markup;
symbol = ide_symbol_tree_get_nth_child (symbol_tree, parent, i);
name = ide_symbol_node_get_name (symbol);
kind = ide_symbol_node_get_kind (symbol);
+ use_markup = ide_symbol_node_get_use_markup (symbol);
switch (kind)
{
@@ -202,6 +204,7 @@ symbol_tree_builder_build_node (IdeTreeBuilder *builder,
child = g_object_new (IDE_TYPE_TREE_NODE,
"children-possible", has_children,
"text", name,
+ "use-markup", use_markup,
"icon-name", icon_name,
"item", symbol,
NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]