Some more GTK+ tab fixes. This is getting nowhere.

This commit is contained in:
Pietro Gagliardi 2015-06-29 22:57:12 -04:00
parent c8a53277c3
commit 4635eda295
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}