diff options
Diffstat (limited to 'src/notebook.c')
-rw-r--r-- | src/notebook.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/notebook.c b/src/notebook.c index 274a486..2aac350 100644 --- a/src/notebook.c +++ b/src/notebook.c @@ -352,7 +352,7 @@ mq_notebook_insert_top(MqNotebook *notebook, const gchar *uri, { MqTabTree *node; - node = MQ_TAB_TREE(mq_tree_insert_child_allocated( + node = MQ_TAB_TREE(mq_tree_append_child_allocated( MQ_TREE(g_new0(MqTabTree, 1)), MQ_TREE(notebook->tree), NULL)); @@ -377,7 +377,7 @@ mq_notebook_insert_sibling(MqNotebook *notebook, const gchar *uri, g_assert(sibling); find_node(notebook, sibling); - node = MQ_TAB_TREE(mq_tree_insert_sibling_allocated( + node = MQ_TAB_TREE(mq_tree_append_sibling_allocated( MQ_TREE(g_new0(MqTabTree, 1)), MQ_TREE(notebook->found_node), NULL)); @@ -402,7 +402,7 @@ mq_notebook_insert_child(MqNotebook *notebook, const gchar *uri, g_assert(child); find_node(notebook, child); - node = MQ_TAB_TREE(mq_tree_insert_child_allocated( + node = MQ_TAB_TREE(mq_tree_append_child_allocated( MQ_TREE(g_new0(MqTabTree, 1)), MQ_TREE(notebook->found_node), NULL)); |