From 3c684404ed9f8ee4aa07e9c81d4841dd0dc3d535 Mon Sep 17 00:00:00 2001 From: Alexander Ljungberg Date: Sun, 20 Jan 2013 16:44:40 +0000 Subject: [PATCH] Eliminate mystery CGPointPointer. --- AppKit/CPBrowser.j | 2 +- AppKit/CPOutlineView.j | 2 +- AppKit/CPTableView.j | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/AppKit/CPBrowser.j b/AppKit/CPBrowser.j index ba193f1ba..f2562539e 100644 --- a/AppKit/CPBrowser.j +++ b/AppKit/CPBrowser.j @@ -809,7 +809,7 @@ return [_browser canDragRowsWithIndexes:rowIndexes inColumn:[_browser columnOfTableView:self] withEvent:[CPApp currentEvent]]; } -- (CPImage)dragImageForRowsWithIndexes:(CPIndexSet)dragRows tableColumns:(CPArray)theTableColumns event:(CPEvent)dragEvent offset:(CGPointPointer)dragImageOffset +- (CPImage)dragImageForRowsWithIndexes:(CPIndexSet)dragRows tableColumns:(CPArray)theTableColumns event:(CPEvent)dragEvent offset:(CGPoint)dragImageOffset { return [_browser draggingImageForRowsWithIndexes:dragRows inColumn:[_browser columnOfTableView:self] withEvent:dragEvent offset:dragImageOffset] || [super dragImageForRowsWithIndexes:dragRows tableColumns:theTableColumns event:dragEvent offset:dragImageOffset]; diff --git a/AppKit/CPOutlineView.j b/AppKit/CPOutlineView.j index 3107e7b5d..beea02b12 100644 --- a/AppKit/CPOutlineView.j +++ b/AppKit/CPOutlineView.j @@ -1053,7 +1053,7 @@ var CPOutlineViewCoalesceSelectionNotificationStateOff = 0, @ignore We need to offset the dataview and add the disclosure triangle. */ -- (CPView)_dragViewForColumn:(int)theColumnIndex event:(CPEvent)theDragEvent offset:(CGPointPointer)theDragViewOffset +- (CPView)_dragViewForColumn:(int)theColumnIndex event:(CPEvent)theDragEvent offset:(CGPoint)theDragViewOffset { var dragView = [[_CPColumnDragView alloc] initWithLineColor:[self gridColor]], tableColumn = [[self tableColumns] objectAtIndex:theColumnIndex], diff --git a/AppKit/CPTableView.j b/AppKit/CPTableView.j index 418fbac46..78cbc9911 100644 --- a/AppKit/CPTableView.j +++ b/AppKit/CPTableView.j @@ -2881,7 +2881,7 @@ Your delegate can implement this method to avoid subclassing the tableview to ad // Copy the dataviews add them to a transparent drag view and use that drag view // to make it appear we are dragging images of those rows (as you would do in regular Cocoa) */ -- (CPView)_dragViewForColumn:(int)theColumnIndex event:(CPEvent)theDragEvent offset:(CGPointPointer)theDragViewOffset +- (CPView)_dragViewForColumn:(int)theColumnIndex event:(CPEvent)theDragEvent offset:(CGPoint)theDragViewOffset { var dragView = [[_CPColumnDragView alloc] initWithLineColor:[self gridColor]], tableColumn = [[self tableColumns] objectAtIndex:theColumnIndex],