diff options
| author | Pietro Gagliardi <[email protected]> | 2015-04-12 20:08:32 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-04-12 20:08:32 -0400 |
| commit | dcf581eb14de1b64607bbcee16150d0099941e93 (patch) | |
| tree | ddf6440b3afdc2036ad01b2ccaed58600f0e7442 /new/newcontrol_darwin.m | |
| parent | bdb0ffd67a1107e973e941eda502d6685f5e8b13 (diff) | |
Some more uiParent migration.
Diffstat (limited to 'new/newcontrol_darwin.m')
| -rw-r--r-- | new/newcontrol_darwin.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/new/newcontrol_darwin.m b/new/newcontrol_darwin.m index b2bcdd5..56a9f7b 100644 --- a/new/newcontrol_darwin.m +++ b/new/newcontrol_darwin.m @@ -42,10 +42,10 @@ static void singleSetParent(uiControl *c, uintptr_t parent) static void singleRemoveParent(uiControl *c) { singleView *s = (singleView *) (c->internal); - uintptr_t oldparent; + uiParent *oldparent; oldparent = s->parent; - s->parent = 0; + s->parent = NULL; [s->immediate removeFromSuperview]; updateParent(oldparent); } |
