diff options
| author | Pietro Gagliardi <[email protected]> | 2015-04-09 19:17:23 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-04-09 19:17:23 -0400 |
| commit | 10ea719dc8b9fa5fedc4c94c77775de3e64aed75 (patch) | |
| tree | ad1ceabcee3aeb686bbbd572747fbb075e7f386d /new/window_unix.c | |
| parent | e78b625172199f77989015cc7ff817530eecaafd (diff) | |
Removed direct vtable calls from uiControl.
Diffstat (limited to 'new/window_unix.c')
| -rw-r--r-- | new/window_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/new/window_unix.c b/new/window_unix.c index b778b26..9a614af 100644 --- a/new/window_unix.c +++ b/new/window_unix.c @@ -79,7 +79,7 @@ void uiWindowOnClosing(uiWindow *w, int (*f)(uiWindow *, void *), void *data) void uiWindowSetChild(uiWindow *w, uiControl *c) { uiContainer(w->container)->child = c; - (*(c->setParent))(c, (uintptr_t) (w->container)); + uiControlSetParent(uiContainer(w->container)->child, (uintptr_t) (w->container)); } // TODO margined |
