mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 03:11:18 +00:00
Clean up implementation
This commit is contained in:
parent
4b0f8c7173
commit
9dbbc2d257
1 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue