aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorRadek Doulik <rodo@ximian.com>2003-01-22 03:49:49 +0800
committerRadek Doulik <rodo@src.gnome.org>2003-01-22 03:49:49 +0800
commit642e1c973295b29a7fdce6b35b3591308c7b25a5 (patch)
treefd61d535014f0bfa4269c878c90cca45deb933e2 /addressbook
parent947522009ef1794a2fcb5830e1639bf858cfe027 (diff)
downloadgsoc2013-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')
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/printing/e-contact-print.c14
2 files changed, 17 insertions, 2 deletions
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 <rodo@ximian.com>
+
+ * 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 <ettore@ximian.com>
* 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;