From e4147f14afecc95db90430143d672512a9e92bdb Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 13 Apr 2015 12:12:00 -0400 Subject: Fixed issues in the GTK+ uiParent change. --- new/tab_unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'new/tab_unix.c') 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++; -- cgit v1.2.3