diff options
Diffstat (limited to 'new/tab_unix.c')
| -rw-r--r-- | new/tab_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/new/tab_unix.c b/new/tab_unix.c index f995fff..dd69e4c 100644 --- a/new/tab_unix.c +++ b/new/tab_unix.c @@ -51,7 +51,7 @@ void uiTabAddPage(uiControl *c, const char *name, uiControl *child) content = uiNewParent((uintptr_t) notebook); uiParentSetChild(content, child); uiParentUpdate(content); - gtk_notebook_set_tab_label_text(GTK_NOTEBOOK(notebook), container, name); + gtk_notebook_set_tab_label_text(GTK_NOTEBOOK(notebook), GTK_WIDGET(uiParentHandle(content)), name); t->pages[t->len] = content; t->len++; |
