path: root/riscos
diff options
authorVincent Sanders <>2014-10-26 23:49:18 +0000
committerVincent Sanders <>2014-10-26 23:53:14 +0000
commitd204d6d555ac8e79da330a93e96fb070c8ee8f8c (patch)
tree5422294976240b8f63d8255f5e47c8396ad88248 /riscos
parent29dfdd459dc4f835bc4dda5d67714b4aaa2c897a (diff)
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 'riscos')
2 files changed, 1 insertions, 8 deletions
diff --git a/riscos/ b/riscos/
index 46ca34116..a52c03f5a 100644
--- a/riscos/
+++ b/riscos/
@@ -92,7 +92,7 @@ TPL_RISCOS := $(addprefix riscos/templates/,$(TPL_RISCOS))
# This is the final source build list
# Note this is deliberately *not* expanded here as common and image
# are not yet available
EXETARGET := !NetSurf/!RunImage$(EXEEXT)
!NetSurf/!Run$(RUNEXT): riscos/scripts/Run $(EXETARGET)
diff --git a/riscos/gui.c b/riscos/gui.c
index ade22cb48..198fd2391 100644
--- a/riscos/gui.c
+++ b/riscos/gui.c
@@ -2152,13 +2152,6 @@ bool ro_gui_prequit(void)
-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;
* Generate a riscos path from one or more component elemnts.