From 10ea719dc8b9fa5fedc4c94c77775de3e64aed75 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 9 Apr 2015 19:17:23 -0400 Subject: Removed direct vtable calls from uiControl. --- new/window_unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'new/window_unix.c') 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 -- cgit v1.2.3