summaryrefslogtreecommitdiff
path: root/cocoa
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-10-26 23:49:18 +0000
committerVincent Sanders <vince@kyllikki.org>2014-10-26 23:53:14 +0000
commitd204d6d555ac8e79da330a93e96fb070c8ee8f8c (patch)
tree5422294976240b8f63d8255f5e47c8396ad88248 /cocoa
parent29dfdd459dc4f835bc4dda5d67714b4aaa2c897a (diff)
downloadnetsurf-d204d6d555ac8e79da330a93e96fb070c8ee8f8c.tar.gz
netsurf-d204d6d555ac8e79da330a93e96fb070c8ee8f8c.tar.bz2
Clean up saving as PDF
This removes the global PDF_Password interface that had completely bitrotted and moves it into the standard misc operation table with a sensible defualt implementation. This also cleans up and fixes the gtk frontend implementation of the pdf password callback so it compiles. Finally this moves the implementation to a sensible place alongside the other exporters reducing target makefile complexity futher.
Diffstat (limited to 'cocoa')
-rw-r--r--cocoa/utils.m9
1 files changed, 0 insertions, 9 deletions
diff --git a/cocoa/utils.m b/cocoa/utils.m
index b49e503d0..2c73e9b49 100644
--- a/cocoa/utils.m
+++ b/cocoa/utils.m
@@ -20,9 +20,6 @@
#import "utils/utils.h"
-#define UNIMPL() NSLog( @"Function '%s' unimplemented", __func__ )
-
-
void warn_user(const char *warning, const char *detail)
{
NSRunAlertPanel( NSLocalizedString( @"Warning", @"Warning title" ),
@@ -31,9 +28,3 @@ void warn_user(const char *warning, const char *detail)
warning, detail != NULL ? ": " : "",
detail != NULL ? detail : "" );
}
-
-void PDF_Password(char **owner_pass, char **user_pass, char *path)
-{
- UNIMPL();
-}
-