Removed an unnecessary TODO.
This commit is contained in:
parent
f86d312c74
commit
a0b29d599e
|
@ -22,7 +22,7 @@ static void singleDestroy(uiControl *c)
|
||||||
complain("attempt to destroy a uiControl at %p while it still has a parent", c);
|
complain("attempt to destroy a uiControl at %p while it still has a parent", c);
|
||||||
// first call the widget's own destruction code
|
// first call the widget's own destruction code
|
||||||
(*(s->onDestroy))(s->onDestroyData);
|
(*(s->onDestroy))(s->onDestroyData);
|
||||||
// then actually destroy (TODO sync these comments with the container and window ones)
|
// then actually destroy
|
||||||
g_object_unref(s->immediate);
|
g_object_unref(s->immediate);
|
||||||
// and free ourselves
|
// and free ourselves
|
||||||
uiFree(s);
|
uiFree(s);
|
||||||
|
|
Loading…
Reference in New Issue