summaryrefslogtreecommitdiff
path: root/cocoa
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2014-01-16 15:26:48 +0000
committerVincent Sanders <vince@netsurf-browser.org>2014-01-16 15:26:48 +0000
commitaaa6b558a912e8296e6df716a5bef5e0923b6073 (patch)
tree70f4eb108b1ab6c9a41020e44201fb56f73b89f2 /cocoa
parent2f478eb5d7690206f2feb92e2e215a5ec8f968c7 (diff)
downloadnetsurf-aaa6b558a912e8296e6df716a5bef5e0923b6073.tar.gz
netsurf-aaa6b558a912e8296e6df716a5bef5e0923b6073.tar.bz2
fix typo in cocoa import
Diffstat (limited to 'cocoa')
-rw-r--r--cocoa/NetsurfApp.m2
-rw-r--r--cocoa/selection.m4
2 files changed, 3 insertions, 3 deletions
diff --git a/cocoa/NetsurfApp.m b/cocoa/NetsurfApp.m
index 08946ad7d..158c195e6 100644
--- a/cocoa/NetsurfApp.m
+++ b/cocoa/NetsurfApp.m
@@ -20,7 +20,7 @@
#import "cocoa/NetsurfApp.h"
#import "cocoa/gui.h"
#import "cocoa/plotter.h"
-#inport "cocoa/DownloadWindowController.h"
+#import "cocoa/DownloadWindowController.h"
#import "cocoa/selection.h"
#import "desktop/gui.h"
diff --git a/cocoa/selection.m b/cocoa/selection.m
index d511337d3..c8d6c7d5e 100644
--- a/cocoa/selection.m
+++ b/cocoa/selection.m
@@ -33,7 +33,7 @@ static NSMutableString *cocoa_clipboard_string;
* \param buffer UTF-8 text, allocated by front end, ownership yeilded to core
* \param length Byte length of UTF-8 text in buffer
*/
-void gui_get_clipboard(char **buffer, size_t *length)
+static void gui_get_clipboard(char **buffer, size_t *length)
{
NSPasteboard *pb = [NSPasteboard generalPasteboard];
NSString *string = [pb stringForType: NSStringPboardType];
@@ -63,7 +63,7 @@ void gui_get_clipboard(char **buffer, size_t *length)
* \param styles Array of styles given to text runs, owned by core, or NULL
* \param n_styles Number of text run styles in array
*/
-void gui_set_clipboard(const char *buffer, size_t length,
+static void gui_set_clipboard(const char *buffer, size_t length,
nsclipboard_styles styles[], int n_styles)
{
/* Empty clipboard string */