diff options
author | Vincent Sanders <vince@kyllikki.org> | 2014-10-26 23:49:18 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-10-26 23:53:14 +0000 |
commit | d204d6d555ac8e79da330a93e96fb070c8ee8f8c (patch) | |
tree | 5422294976240b8f63d8255f5e47c8396ad88248 /riscos | |
parent | 29dfdd459dc4f835bc4dda5d67714b4aaa2c897a (diff) | |
download | netsurf-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 'riscos')
-rw-r--r-- | riscos/Makefile.target | 2 | ||||
-rw-r--r-- | riscos/gui.c | 7 |
2 files changed, 1 insertions, 8 deletions
diff --git a/riscos/Makefile.target b/riscos/Makefile.target index 46ca34116..a52c03f5a 100644 --- a/riscos/Makefile.target +++ b/riscos/Makefile.target @@ -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 -SOURCES = $(S_COMMON) $(S_IMAGE) $(S_BROWSER) $(S_PDF) $(S_RISCOS) +SOURCES = $(S_COMMON) $(S_IMAGE) $(S_BROWSER) $(S_RISCOS) 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. * |