Clean up implementation

This commit is contained in:
Gregory John Casamento 2021-01-16 20:49:54 -05:00
parent 4b0f8c7173
commit 9dbbc2d257

View file

@ -191,9 +191,11 @@
{
NSGridRow *gr = [[NSGridRow alloc] init];
// Insert the row and release...
[_rows insertObject: gr atIndex: index];
RELEASE(gr);
// Insert views...
FOR_IN(NSView*, v, views)
{
NSGridCell *c = [[NSGridCell alloc] init];
@ -203,7 +205,7 @@
}
END_FOR_IN(views);
// Refresh...
[self _refreshCells];
return gr;
}