diff options
| author | Pietro Gagliardi <[email protected]> | 2015-04-15 23:07:43 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-04-15 23:07:43 -0400 |
| commit | 0c73a7fb80e0fc59f1fbde07053bd55fe03dd3cc (patch) | |
| tree | 6d42d55023b1ccf5feeba83dc08071966e922e3b /new/unix/tab.c | |
| parent | e49436170aa547ec713b8510bec955985f09cb89 (diff) | |
Fixed Unix backend build errors. Impressively, IT STILL WORKS! Now to fix the warnings...
Diffstat (limited to 'new/unix/tab.c')
| -rw-r--r-- | new/unix/tab.c | 4 |
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; |
