From 631f34eb7f3eb9a5e5cdf2f76701b9fc2046d252 Mon Sep 17 00:00:00 2001 From: Rob Kendrick Date: Fri, 15 Aug 2008 09:30:21 +0000 Subject: Allow nsgtk to be built without PDF export svn path=/trunk/netsurf/; revision=5120 --- gtk/gtk_gui.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gtk/gtk_gui.c') diff --git a/gtk/gtk_gui.c b/gtk/gtk_gui.c index 359f1d7dd..6991de2e9 100644 --- a/gtk/gtk_gui.c +++ b/gtk/gtk_gui.c @@ -628,6 +628,8 @@ bool cookies_update(const char *domain, const struct cookie_data *data) return true; } +#ifdef WITH_PDF + void PDF_Password(char **owner_pass, char **user_pass, char *path) { GladeXML *x = glade_xml_new(glade_file_location, NULL, NULL); @@ -728,3 +730,5 @@ static void nsgtk_PDF_no_pass(GtkButton *w, gpointer data) save_pdf(path); } +#endif + -- cgit v1.2.3