summaryrefslogtreecommitdiff
path: root/cocoa/selection.m
diff options
context:
space:
mode:
authorSven Weidauer <sven.weidauer@gmail.com>2011-01-19 20:19:43 +0000
committerSven Weidauer <sven.weidauer@gmail.com>2011-01-19 20:19:43 +0000
commitf85335a7f9fdbff012409bb2af8fecc81740eab0 (patch)
treef4f6678aa78b89b76fab7a10094f0cdd1b22be0f /cocoa/selection.m
parent5a259dadeb6b6b31f5cfe628cc62bfb7d86e25b4 (diff)
downloadnetsurf-f85335a7f9fdbff012409bb2af8fecc81740eab0.tar.gz
netsurf-f85335a7f9fdbff012409bb2af8fecc81740eab0.tar.bz2
Implementing tabs and fixing scrolling.
svn path=/trunk/netsurf/; revision=11396
Diffstat (limited to 'cocoa/selection.m')
-rw-r--r--cocoa/selection.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/cocoa/selection.m b/cocoa/selection.m
index b19d69f39..cb0c3dca9 100644
--- a/cocoa/selection.m
+++ b/cocoa/selection.m
@@ -18,7 +18,7 @@
#import <Cocoa/Cocoa.h>
-#import "BrowserWindow.h"
+#import "cocoa/BrowserViewController.h"
#import "desktop/selection.h"
@@ -41,7 +41,7 @@ void gui_paste_from_clipboard(struct gui_window *g, int x, int y)
NSString *string = [pb stringForType: NSStringPboardType];
if (string) {
const char *text = [string UTF8String];
- browser_window_paste_text( [(BrowserWindow *)g browser], text, strlen(text), true );
+ browser_window_paste_text( [(BrowserViewController *)g browser], text, strlen(text), true );
}
}