From f85335a7f9fdbff012409bb2af8fecc81740eab0 Mon Sep 17 00:00:00 2001 From: Sven Weidauer Date: Wed, 19 Jan 2011 20:19:43 +0000 Subject: Implementing tabs and fixing scrolling. svn path=/trunk/netsurf/; revision=11396 --- cocoa/selection.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cocoa/selection.m') 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 -#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 ); } } -- cgit v1.2.3