summaryrefslogtreecommitdiff
path: root/amiga/save_pdf.c
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 /amiga/save_pdf.c
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 'amiga/save_pdf.c')
-rw-r--r--amiga/save_pdf.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/amiga/save_pdf.c b/amiga/save_pdf.c
index 16592215b..b70fc5716 100644
--- a/amiga/save_pdf.c
+++ b/amiga/save_pdf.c
@@ -56,9 +56,4 @@ bool save_as_pdf(struct hlcache_handle *c, const char *path)
return true;
}
-void PDF_Password(char **owner_pass, char **user_pass, char *path)
-{
- /*TODO:this waits to be written, until then no PDF encryption*/
- *owner_pass = NULL;
-}
#endif