aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/printing/e-contact-print.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/addressbook/printing/e-contact-print.c b/addressbook/printing/e-contact-print.c
index 672db9ab41..d45c8c1f92 100644
--- a/addressbook/printing/e-contact-print.c
+++ b/addressbook/printing/e-contact-print.c
@@ -234,15 +234,10 @@ static gdouble
e_contact_get_contact_height (EContact *contact,
EContactPrintContext *ctxt)
{
- GtkPageSetup *setup;
gchar *file_as;
- gdouble page_height;
gint field;
gdouble cntct_height = 0.0;
- setup = gtk_print_context_get_page_setup (ctxt->context);
- page_height = gtk_page_setup_get_page_height (setup, GTK_UNIT_POINTS);
-
cntct_height += get_font_height (ctxt->style->headings_font) * .2;
file_as = e_contact_get (contact, E_CONTACT_FILE_AS);