aboutsummaryrefslogtreecommitdiff
path: root/src/slide_window.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2014-12-02 08:20:12 +0100
committerThomas White <taw@bitwiz.org.uk>2014-12-02 08:20:12 +0100
commitb0e4c2114e117962d40a49e67ff225dd296ebff5 (patch)
tree0e29299b344337639e14f2711dbb435e2a571f03 /src/slide_window.c
parent645dc439b33a1b7eec2e9d88162b2a8ff577bc6d (diff)
Restore PDF export
Diffstat (limited to 'src/slide_window.c')
-rw-r--r--src/slide_window.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/slide_window.c b/src/slide_window.c
index 5a4acd4..f5ad77e 100644
--- a/src/slide_window.c
+++ b/src/slide_window.c
@@ -240,12 +240,6 @@ static void save_sig(GSimpleAction *action, GVariant *parameter, gpointer vp)
}
-static void exportpdf_sig(GSimpleAction *action, GVariant *parameter,
- gpointer vp)
-{
-}
-
-
static void open_slidesorter_sig(GSimpleAction *action, GVariant *parameter, gpointer vp)
{
SlideWindow *sw = vp;
@@ -316,8 +310,10 @@ static gint export_pdf_response_sig(GtkWidget *d, gint response,
}
-static gint export_pdf_sig(GtkWidget *widget, SlideWindow *sw)
+static void exportpdf_sig(GSimpleAction *action, GVariant *parameter,
+ gpointer vp)
{
+ SlideWindow *sw = vp;
GtkWidget *d;
d = gtk_file_chooser_dialog_new("Export PDF",
@@ -333,8 +329,6 @@ static gint export_pdf_sig(GtkWidget *widget, SlideWindow *sw)
G_CALLBACK(export_pdf_response_sig), sw);
gtk_widget_show_all(d);
-
- return 0;
}