From 642e1c973295b29a7fdce6b35b3591308c7b25a5 Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Tue, 21 Jan 2003 19:49:49 +0000 Subject: don't use gnome_print_multipage_new_from_sizes and add warning 2003-01-21 Radek Doulik * printing/e-contact-print.c (e_contact_print_button): don't use gnome_print_multipage_new_from_sizes and add warning svn path=/trunk/; revision=19542 --- addressbook/ChangeLog | 5 +++++ addressbook/printing/e-contact-print.c | 14 ++++++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) (limited to 'addressbook') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index cef06f0f64..126fd4bb1b 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,8 @@ +2003-01-21 Radek Doulik + + * printing/e-contact-print.c (e_contact_print_button): don't use + gnome_print_multipage_new_from_sizes and add warning + 2003-01-14 Ettore Perazzoli * gui/widgets/e-addressbook-util.c diff --git a/addressbook/printing/e-contact-print.c b/addressbook/printing/e-contact-print.c index 446162f778..299297f31a 100644 --- a/addressbook/printing/e-contact-print.c +++ b/addressbook/printing/e-contact-print.c @@ -1042,11 +1042,15 @@ e_contact_print_button(GnomeDialog *dialog, gint button, gpointer data) ctxt->letter_heading_font = gnome_font_find (gnome_font_get_name(ctxt->style->headings_font), gnome_font_get_size (ctxt->style->headings_font) * 1.5); ctxt->letter_tab_font = gnome_font_find (gnome_font_get_name(ctxt->style->headings_font), font_size); + ctxt->pc = pc; +#warning FIXME gnome_print_multipage_new_from_sizes +#if 0 ctxt->pc = GNOME_PRINT_CONTEXT(gnome_print_multipage_new_from_sizes(pc, 72 * style->paper_width, 72 * style->paper_height, 72 * style->page_width, 72 * style->page_height)); +#endif ctxt->book = book; ctxt->query = query; @@ -1078,12 +1082,15 @@ e_contact_print_button(GnomeDialog *dialog, gint button, gpointer data) ctxt->letter_heading_font = gnome_font_find (gnome_font_get_name(ctxt->style->headings_font), gnome_font_get_size (ctxt->style->headings_font) * 1.5); ctxt->letter_tab_font = gnome_font_find (gnome_font_get_name(ctxt->style->headings_font), font_size); + ctxt->pc = pc; +#warning FIXME gnome_print_multipage_new_from_sizes +#if 0 ctxt->pc = GNOME_PRINT_CONTEXT(gnome_print_multipage_new_from_sizes(pc, 72 * style->paper_width, 72 * style->paper_height, 72 * style->page_width, 72 * style->page_height)); - +#endif ctxt->book = book; ctxt->query = g_strdup(query); if (uses_book) { @@ -1159,12 +1166,15 @@ e_contact_print_preview(EBook *book, char *query) ctxt->letter_heading_font = gnome_font_find (gnome_font_get_name(ctxt->style->headings_font), gnome_font_get_size (ctxt->style->headings_font) * 1.5); ctxt->letter_tab_font = gnome_font_find (gnome_font_get_name(ctxt->style->headings_font), font_size); + ctxt->pc = pc; +#warning FIXME gnome_print_multipage_new_from_sizes +#if 0 ctxt->pc = GNOME_PRINT_CONTEXT(gnome_print_multipage_new_from_sizes(pc, 72 * style->paper_width, 72 * style->paper_height, 72 * style->page_width, 72 * style->page_height)); - +#endif ctxt->book = book; ctxt->query = g_strdup(query); ctxt->cards = NULL; -- cgit