aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog1
-rw-r--r--addressbook/printing/e-contact-print.c6
-rw-r--r--addressbook/printing/e-contact-print.h3
3 files changed, 8 insertions, 2 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 7e047f3a09..98dd5b8163 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,6 @@
2001-08-11 Kjartan Maraas <kmaraas@gnome.org>
+ * printing/e-contact-print.h: Add headers to make it stand on itw own.
* printing/e-contact-print.c: Marked some strings for translation.
* printing/e-contact-print-envelope.c: Same here.
diff --git a/addressbook/printing/e-contact-print.c b/addressbook/printing/e-contact-print.c
index 7810b6067b..1d3c48a38a 100644
--- a/addressbook/printing/e-contact-print.c
+++ b/addressbook/printing/e-contact-print.c
@@ -20,6 +20,8 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
+#include "e-contact-print.h"
#include <ctype.h>
#include <sys/types.h>
@@ -28,8 +30,9 @@
#include <gnome-xml/tree.h>
#include <gnome-xml/parser.h>
#include <gnome-xml/xmlmemory.h>
-#include <libgnome/gnome-defs.h>
#include <libgnome/gnome-util.h>
+#include <libgnome/gnome-defs.h>
+#include <libgnome/gnome-i18n.h>
#include <libgnome/gnome-paper.h>
#include <libgnomeprint/gnome-print.h>
#include <libgnomeprint/gnome-print-dialog.h>
@@ -40,7 +43,6 @@
#include <addressbook/backend/ebook/e-book.h>
#include <addressbook/backend/ebook/e-card.h>
#include <addressbook/backend/ebook/e-card-simple.h>
-#include "e-contact-print.h"
#define SCALE 5
#define HYPHEN_PIXELS 20
diff --git a/addressbook/printing/e-contact-print.h b/addressbook/printing/e-contact-print.h
index a5f13f1097..b4060c64ab 100644
--- a/addressbook/printing/e-contact-print.h
+++ b/addressbook/printing/e-contact-print.h
@@ -23,7 +23,10 @@
#ifndef E_CONTACT_PRINT_H
#define E_CONTACT_PRINT_H
+#include <glib.h>
+#include <gtk/gtkwidget.h>
#include <addressbook/backend/ebook/e-book.h>
+#include <addressbook/backend/ebook/e-card.h>
#include "e-contact-print-types.h"
GtkWidget *e_contact_print_dialog_new(EBook *book, char *query);