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. --- cocoa/utils.m | 9 --------- 1 file changed, 9 deletions(-) (limited to 'cocoa/utils.m') 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(); -} - -- cgit v1.2.3