1 --- src/printing.c.orig 2013-05-15 04:23:40 UTC
3 @@ -151,8 +151,6 @@ static gint layout_set_headers(PangoLayo
5 desc = pango_font_description_from_string(prefs_common_get()->textfont);
6 size = pango_font_description_get_size(desc);
7 - pango_font_description_free(desc);
8 - desc = gtkut_get_default_font_desc();
9 pango_font_description_set_size(desc, size);
10 pango_layout_set_font_description(layout, desc);
11 pango_font_description_free(desc);
12 @@ -417,10 +415,6 @@ static void draw_page(GtkPrintOperation
14 debug_print("count = %d\n", count);
16 - desc = gtkut_get_default_font_desc();
17 - pango_font_description_set_size(desc, font_size);
18 - pango_layout_set_font_description(layout, desc);
19 - pango_font_description_free(desc);
20 g_snprintf(buf, sizeof(buf), "- %d -", pinfo->page_nr_per_msg + 1);
21 pango_layout_set_text(layout, buf, -1);
22 pango_layout_set_alignment(layout, PANGO_ALIGN_CENTER);