summaryrefslogtreecommitdiff
path: root/gtk/gtk_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtk_gui.c')
-rw-r--r--gtk/gtk_gui.c4
1 files changed, 4 insertions, 0 deletions
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
+