diff options
Diffstat (limited to 'mail/em-utils.c')
-rw-r--r-- | mail/em-utils.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/em-utils.c b/mail/em-utils.c index 994a029a5f..a293efabf8 100644 --- a/mail/em-utils.c +++ b/mail/em-utils.c @@ -592,12 +592,12 @@ do_print_msg_to_file (GObject *source, printer = e_mail_printer_new (parts_list); e_mail_printer_set_export_filename (printer, filename); - g_signal_connect_swapped ( - printer, "done", - G_CALLBACK (g_object_unref), printer); - e_mail_printer_print (printer, GTK_PRINT_OPERATION_ACTION_EXPORT, NULL, NULL); + e_mail_printer_print ( + printer, GTK_PRINT_OPERATION_ACTION_EXPORT, + NULL, NULL, NULL, NULL); + g_object_unref (printer); g_object_unref (parser); } |