aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2013-05-24 23:24:45 +0200
committerThomas White <taw@bitwiz.org.uk>2013-05-24 23:24:45 +0200
commit36a17f74e22a2d8406a98577caa73e16037980c7 (patch)
treef722bcf6c1a49db084271cfca2cb7d95e43357ef /src/mainwindow.c
parentebbc91c5ba6f3fc8d00f55af0f2bf290bee41035 (diff)
Restore PDF export
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r--src/mainwindow.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c
index 91f4068..9e8a7d5 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -354,10 +354,9 @@ static gint export_pdf_response_sig(GtkWidget *d, gint response,
filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(d));
- /* FIXME */
- //if ( export_pdf(p, filename) ) {
- // show_error(p, "Failed to export as PDF");
- //}
+ if ( export_pdf(p, filename) ) {
+ show_error(p, "Failed to export as PDF");
+ }
g_free(filename);