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_unix.c | |
| parent | bdb0ffd67a1107e973e941eda502d6685f5e8b13 (diff) | |
Some more uiParent migration.
Diffstat (limited to 'new/newcontrol_unix.c')
| -rw-r--r-- | new/newcontrol_unix.c | 4 |
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); } |
