Allow nsgtk to be built without PDF export

svn path=/trunk/netsurf/; revision=5120
This commit is contained in:
Rob Kendrick 2008-08-15 09:30:21 +00:00
parent 4e9dc3fe65
commit 631f34eb7f

View File

@ -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