From 4635eda295311171be88b958dfb52918e0fa7e77 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 29 Jun 2015 22:57:12 -0400 Subject: [PATCH] Some more GTK+ tab fixes. This is getting nowhere. --- redo/unix/tab.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redo/unix/tab.c b/redo/unix/tab.c index cd3990bc..eff51810 100644 --- a/redo/unix/tab.c +++ b/redo/unix/tab.c @@ -45,8 +45,8 @@ static void tabInsertAt(uiTab *tt, const char *name, uintmax_t n, uiControl *chi page.holderWidget = GTK_WIDGET(uiControlHandle(page.holder)); gtk_container_add(t->container, page.holderWidget); - gtk_notebook_set_tab_label(t->container, page.holderWidget, name); - gtk_notebook_reorder_child(t->container, page.holderWidget, n); + gtk_notebook_set_tab_label_text(t->notebook, page.holderWidget, name); + gtk_notebook_reorder_child(t->notebook, page.holderWidget, n); g_array_insert_val(t->pages, n, page); }