Switch from float to CGFloat for column origins in table view

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40255 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Marcian Lytwyn 2016-12-06 23:44:45 +00:00
parent 6566f7b41d
commit 8d6d271138
4 changed files with 28 additions and 28 deletions

View file

@ -56,7 +56,7 @@
@interface NSTableView (GNUstepPrivate)
- (void) _userResizedTableColumn: (int)index
width: (float)width;
- (float *) _columnOrigins;
- (CGFloat *) _columnOrigins;
- (void) _mouseDownInHeaderOfTableColumn: (NSTableColumn *)tc;
- (void) _clickTableColumn: (NSTableColumn *)tc;
@end
@ -487,7 +487,7 @@
maxCoord = NSMaxX(bounds);
}
{
float *_c = [_tableView _columnOrigins];
CGFloat *_c = [_tableView _columnOrigins];
_cO_minus1 = malloc((numberOfColumns + 3) * sizeof(CGFloat));
_cO = _cO_minus1 + 1;
memcpy(_cO, _c, numberOfColumns * sizeof(CGFloat));