summaryrefslogtreecommitdiff
path: root/new/unix/tab.c
diff options
context:
space:
mode:
Diffstat (limited to 'new/unix/tab.c')
-rw-r--r--new/unix/tab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/new/unix/tab.c b/new/unix/tab.c
index eca7997..8332bbd 100644
--- a/new/unix/tab.c
+++ b/new/unix/tab.c
@@ -31,7 +31,7 @@ static void addPage(uiTab *tt, const char *name, uiControl *child)
t->pages = (uiParent **) uiRealloc(t->pages, t->cap * sizeof (uiParent *), "uiParent *[]");
}
- notebook = GTK_WIDGET(uiControlHandle(c));
+ notebook = GTK_WIDGET(TAB(t));
content = uiNewParent((uintptr_t) notebook);
uiParentSetChild(content, child);
uiParentUpdate(content);
@@ -41,7 +41,7 @@ static void addPage(uiTab *tt, const char *name, uiControl *child)
t->len++;
}
-uiControl *uiNewTab(void)
+uiTab *uiNewTab(void)
{
uiControl *c;
struct tab *t;