From dcf581eb14de1b64607bbcee16150d0099941e93 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 12 Apr 2015 20:08:32 -0400 Subject: Some more uiParent migration. --- new/newcontrol_unix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'new/newcontrol_unix.c') diff --git a/new/newcontrol_unix.c b/new/newcontrol_unix.c index feedafe..5779af2 100644 --- a/new/newcontrol_unix.c +++ b/new/newcontrol_unix.c @@ -40,10 +40,10 @@ static void singleSetParent(uiControl *c, uintptr_t parent) static void singleRemoveParent(uiControl *c) { singleWidget *s = (singleWidget *) (c->internal); - uintptr_t oldparent; + uiParent *oldparent; oldparent = s->parent; - s->parent = 0; + s->parent = NULL; gtk_container_remove(GTK_CONTAINER(oldparent), s->immediate); updateParent(oldparent); } -- cgit v1.2.3