diff options
author | Kjartan Maraas <kmaraas@gnome.org> | 2011-02-09 00:57:50 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:31 +0800 |
commit | 8efc1bc6f91e06ca61b00eb8119c9c36697e43a6 (patch) | |
tree | 95ec3e7ac41deec84bfd02de6ee05faf245b3dea /addressbook | |
parent | be15d6730130da3f9e2fa6579233d5a9b304a7ea (diff) | |
download | gsoc2013-evolution-8efc1bc6f91e06ca61b00eb8119c9c36697e43a6.tar.gz gsoc2013-evolution-8efc1bc6f91e06ca61b00eb8119c9c36697e43a6.tar.zst gsoc2013-evolution-8efc1bc6f91e06ca61b00eb8119c9c36697e43a6.zip |
Bug 641756 - Fix warnings from GCC 4.6
GCC learned how to find dead assignments.
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/printing/e-contact-print.c | 5 |
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); |