diff options
author | Radek Doulik <rodo@ximian.com> | 2003-01-22 03:49:49 +0800 |
---|---|---|
committer | Radek Doulik <rodo@src.gnome.org> | 2003-01-22 03:49:49 +0800 |
commit | 642e1c973295b29a7fdce6b35b3591308c7b25a5 (patch) | |
tree | fd61d535014f0bfa4269c878c90cca45deb933e2 /addressbook/printing/e-contact-print.c | |
parent | 947522009ef1794a2fcb5830e1639bf858cfe027 (diff) | |
download | gsoc2013-evolution-642e1c973295b29a7fdce6b35b3591308c7b25a5.tar.gz gsoc2013-evolution-642e1c973295b29a7fdce6b35b3591308c7b25a5.tar.zst gsoc2013-evolution-642e1c973295b29a7fdce6b35b3591308c7b25a5.zip |
don't use gnome_print_multipage_new_from_sizes and add warning
2003-01-21 Radek Doulik <rodo@ximian.com>
* 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
Diffstat (limited to 'addressbook/printing/e-contact-print.c')
-rw-r--r-- | addressbook/printing/e-contact-print.c | 14 |
1 files changed, 12 insertions, 2 deletions
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; |