From d204d6d555ac8e79da330a93e96fb070c8ee8f8c Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 26 Oct 2014 23:49:18 +0000 Subject: 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. --- riscos/Makefile.target | 2 +- riscos/gui.c | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) (limited to 'riscos') 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. * -- cgit v1.2.3