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/window.c | |
| parent | e49436170aa547ec713b8510bec955985f09cb89 (diff) | |
Fixed Unix backend build errors. Impressively, IT STILL WORKS! Now to fix the warnings...
Diffstat (limited to 'new/unix/window.c')
| -rw-r--r-- | new/unix/window.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/new/unix/window.c b/new/unix/window.c index 7ecab4b..c030d87 100644 --- a/new/unix/window.c +++ b/new/unix/window.c @@ -46,7 +46,7 @@ static uintptr_t handle(uiWindow *ww) return (uintptr_t) (w->widget); } -static char *title(uiWindow *ww) +static char *getTitle(uiWindow *ww) { struct window *w = (struct window *) ww; @@ -109,7 +109,7 @@ static void setMargined(uiWindow *ww, int margined) uiParentUpdate(w->content); } -uiWindow *uiNewWindow(char *title, int width, int height) +uiWindow *uiNewWindow(const char *title, int width, int height) { struct window *w; @@ -124,7 +124,7 @@ uiWindow *uiNewWindow(char *title, int width, int height) uiWindow(w)->Destroy = windowDestroy; uiWindow(w)->Handle = handle; - uiWindow(w)->Title = title; + uiWindow(w)->Title = getTitle; uiWindow(w)->SetTitle = setTitle; uiWindow(w)->Show = show; uiWindow(w)->Hide = hide; |
