From 0c73a7fb80e0fc59f1fbde07053bd55fe03dd3cc Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 15 Apr 2015 23:07:43 -0400 Subject: Fixed Unix backend build errors. Impressively, IT STILL WORKS! Now to fix the warnings... --- new/unix/tab.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'new/unix/tab.c') 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; -- cgit v1.2.3