summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/notebook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notebook.c b/src/notebook.c
index fc39d20..5a43988 100644
--- a/src/notebook.c
+++ b/src/notebook.c
@@ -128,7 +128,7 @@ switch_page_cb(MqNotebook *notebook, MqTabPage *page,
static void
new_tab_clicked_cb(GtkWidget G_GNUC_UNUSED *button, MqNotebook *notebook)
{
- mq_notebook_insert_sibling(notebook, NULL, notebook->current_page);
+ mq_notebook_insert_child(notebook, NULL, notebook->current_page);
}
static void