summaryrefslogtreecommitdiff
path: root/new/tab_unix.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-13 12:12:00 -0400
committerPietro Gagliardi <[email protected]>2015-04-13 12:12:17 -0400
commite4147f14afecc95db90430143d672512a9e92bdb (patch)
tree5f701233992616f51d710f43a17fd0ff5bafab00 /new/tab_unix.c
parent19b85182b83e1eb6d8b91209594adb2f405a19bf (diff)
Fixed issues in the GTK+ uiParent change.
Diffstat (limited to 'new/tab_unix.c')
-rw-r--r--new/tab_unix.c2
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++;