mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 15:29:45 +03:00
Allow nsgtk to be built without PDF export
svn path=/trunk/netsurf/; revision=5120
This commit is contained in:
parent
4e9dc3fe65
commit
631f34eb7f
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user