aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/printing/e-contact-print.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-03-23 11:39:14 +0800
committerChris Lahey <clahey@src.gnome.org>2000-03-23 11:39:14 +0800
commita8b3463f5a424f5b90249a9da554525798d21aa3 (patch)
tree53f916205e5492080692ec408a43b68c50c7d3c3 /addressbook/printing/e-contact-print.c
parent1b84e993c0c4791bde30ea19ce35989375d257ed (diff)
downloadgsoc2013-evolution-a8b3463f5a424f5b90249a9da554525798d21aa3.tar.gz
gsoc2013-evolution-a8b3463f5a424f5b90249a9da554525798d21aa3.tar.zst
gsoc2013-evolution-a8b3463f5a424f5b90249a9da554525798d21aa3.zip
Added the addressbook/backend directory.
2000-03-22 Christopher James Lahey <clahey@helixcode.com> * addressbook/Makefile.am, configure.in: Added the addressbook/backend directory. * addressbook/backend/Makefile.am: Removed the libversit directory as it's now included in the base evolution directory. * addressbook/backend/ebook/e-card-pairs.h, addressbook/backend/ebook/Makefile.am: Changed the place where libversit is looked for. * addressbook/backend/ebook/e-book-listener.c: Fixed some indentation. * addressbook/backend/ebook/e-card-pairs.h, addressbook/backend/ebook/e-card-types.h: Commented out some code to get this to compile. * addressbook/backend/ebook/e-card.c, addressbook/backend/ebook/e-card.h: Turned this into a GTK+ object. * addressbook/backend/pas/pas.c, addressbook/backend/ebook/test-client.c: Include gnome.h and gnorba.h. * addressbook/backend/idl/addressbook.idl: Include Bonobo.idl instead of bonobo-unknown.idl. * addressbook/backend/pas/pas-backend-file.c, addressbook/backend/pas/pas-book.c, addressbook/contact-editor/test-editor.c, addressbook/contact-editor/e-contact-editor.c, addressbook/printing/e-contact-print.c, addressbook/printing/test-contact-print-style-editor.c, addressbook/printing/test-print.c: Killed some warnings. svn path=/trunk/; revision=2150
Diffstat (limited to 'addressbook/printing/e-contact-print.c')
-rw-r--r--addressbook/printing/e-contact-print.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/addressbook/printing/e-contact-print.c b/addressbook/printing/e-contact-print.c
index 5dc0e9f4bc..f86d2613b1 100644
--- a/addressbook/printing/e-contact-print.c
+++ b/addressbook/printing/e-contact-print.c
@@ -263,6 +263,7 @@ e_contact_text_height(GnomePrintContext *pc, GnomeFont *font, double width, gcha
line_count * .2 * font->size;
}
+#if 0
static void
e_contact_output_and_advance(EContactPrintContext *ctxt, GnomeFont *font, double x, double width, gchar *text)
{
@@ -271,6 +272,7 @@ e_contact_output_and_advance(EContactPrintContext *ctxt, GnomeFont *font, double
ctxt->y -= e_contact_text_height(ctxt->pc, font, width, text);
ctxt->y -= .1 * font->size;
}
+#endif
static void
e_contact_rectangle(GnomePrintContext *pc,
@@ -672,6 +674,8 @@ e_contact_do_print (void *book, EContactPrintContext *ctxt, GList *shown_fields)
case E_CONTACT_PRINT_TYPE_PHONE_LIST:
e_contact_do_print_phone_list( book, ctxt, shown_fields );
break;
+ default:
+ break;
}
}