summaryrefslogtreecommitdiff
path: root/new/newcontrol_unix.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-12 20:08:32 -0400
committerPietro Gagliardi <[email protected]>2015-04-12 20:08:32 -0400
commitdcf581eb14de1b64607bbcee16150d0099941e93 (patch)
treeddf6440b3afdc2036ad01b2ccaed58600f0e7442 /new/newcontrol_unix.c
parentbdb0ffd67a1107e973e941eda502d6685f5e8b13 (diff)
Some more uiParent migration.
Diffstat (limited to 'new/newcontrol_unix.c')
-rw-r--r--new/newcontrol_unix.c4
1 files changed, 2 insertions, 2 deletions
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);
}