summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-17 22:20:13 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-17 22:20:13 (EDT)
commit8f9525ec9867c83ef8871a7289dde6127c78f0f8 (patch)
treeaf5639b10982b80b4259f2c1a3f2b907d4db27ac
parent885e5e9442bae1d790df9c870af3232a9ced840e (diff)
downloadmarquee-8f9525ec9867c83ef8871a7289dde6127c78f0f8.zip
marquee-8f9525ec9867c83ef8871a7289dde6127c78f0f8.tar.gz
marquee-8f9525ec9867c83ef8871a7289dde6127c78f0f8.tar.bz2
MqTabLabel: Use mq_tab_page_get_title() instead of node->title
-rw-r--r--src/tab-label.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tab-label.c b/src/tab-label.c
index 5ca8e5e..cf0a6b0 100644
--- a/src/tab-label.c
+++ b/src/tab-label.c
@@ -95,7 +95,8 @@ create_tree_model_recurse(MqTabPage *node, GtkTreeStore *tree_store,
for (; node; node = mq_tab_page_next(node)) {
gtk_tree_store_append(tree_store, &tree_iter, parent_tree_iter);
- gtk_tree_store_set(tree_store, &tree_iter, 0, node->title, -1);
+ gtk_tree_store_set(tree_store, &tree_iter, 0,
+ mq_tab_page_get_title(node), -1);
create_tree_model_recurse(mq_tab_page_first_child(node),
tree_store, &tree_iter);
}