diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-05-07 05:39:10 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-05-07 05:39:10 +0800 |
commit | 65431a334743819884c494cc05ac2d8a43efff2f (patch) | |
tree | 4307467b08896a93dd6b460ac2d402e184c717af /mail/mail-callbacks.c | |
parent | 0425bffaf1c34bb5a547ceacc64ba6b71a005ac0 (diff) | |
download | gsoc2013-evolution-65431a334743819884c494cc05ac2d8a43efff2f.tar.gz gsoc2013-evolution-65431a334743819884c494cc05ac2d8a43efff2f.tar.zst gsoc2013-evolution-65431a334743819884c494cc05ac2d8a43efff2f.zip |
Flush the filter log to make Tuomas happy :-)
2002-05-06 Jeffrey Stedfast <fejj@ximian.com>
* mail-ops.c (filter_folder_free): Flush the filter log to make
Tuomas happy :-)
* mail-session.c (mail_session_flush_filter_log): New convenience
function to flush the session's filter log file.
svn path=/trunk/; revision=16696
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r-- | mail/mail-callbacks.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index dc61f7267d..f57a30e7bb 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -2860,13 +2860,13 @@ do_mail_print (FolderBrowser *fb, gboolean preview) if (printer) gnome_print_master_set_printer (print_master, printer); - paper = gnome_paper_with_name (_("US-Letter")); + paper = (GnomePaper *) gnome_paper_with_name (_("US-Letter")); if (!paper) - paper = gnome_paper_with_name (gnome_paper_name_default ()); + paper = (GnomePaper *) gnome_paper_with_name (gnome_paper_name_default ()); gnome_print_master_set_paper (print_master, paper); gnome_print_master_set_copies (print_master, copies, collate); print_context = gnome_print_master_get_context (print_master); - + html = GTK_HTML (gtk_html_new ()); mail_display_initialize_gtkhtml (fb->mail_display, html); @@ -2874,16 +2874,16 @@ do_mail_print (FolderBrowser *fb, gboolean preview) to ignoring any adjustments we made to accomodate the user's theme. */ fb->mail_display->printing = TRUE; - + mail_display_render (fb->mail_display, html, TRUE); gtk_html_print_set_master (html, print_master); - + info = footer_info_new (html, print_context, &line); gtk_html_print_with_header_footer (html, print_context, 0.0, line, NULL, footer_print_cb, info); footer_info_free (info); - + fb->mail_display->printing = FALSE; - + gnome_print_master_close (print_master); if (preview){ @@ -2901,7 +2901,7 @@ do_mail_print (FolderBrowser *fb, gboolean preview) _("Printing of message failed")); } } - + /* FIXME: We are leaking the GtkHTML object */ } |