aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2001-08-11 23:41:37 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2001-08-11 23:41:37 +0800
commitce83d43867233d1180ec1a0cd3fb2cc58d286355 (patch)
tree7820bd3e93e019cc8ecc92d530c547774710d3b9
parentf9b7fb0e6c7aea603dab0db27a58496f1f132908 (diff)
downloadgsoc2013-evolution-ce83d43867233d1180ec1a0cd3fb2cc58d286355.tar.gz
gsoc2013-evolution-ce83d43867233d1180ec1a0cd3fb2cc58d286355.tar.zst
gsoc2013-evolution-ce83d43867233d1180ec1a0cd3fb2cc58d286355.zip
Add headers to make it stand on itw own. Marked some strings for
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. svn path=/trunk/; revision=11913
-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);