diff options
Diffstat (limited to 'addressbook/printing')
-rw-r--r-- | addressbook/printing/e-contact-print-envelope.c | 1 | ||||
-rw-r--r-- | addressbook/printing/e-contact-print.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/addressbook/printing/e-contact-print-envelope.c b/addressbook/printing/e-contact-print-envelope.c index 5ed3fb8211..33e7361605 100644 --- a/addressbook/printing/e-contact-print-envelope.c +++ b/addressbook/printing/e-contact-print-envelope.c @@ -28,6 +28,7 @@ #include <libgnomeprintui/gnome-print-dialog.h> #include <libgnomeprint/gnome-print.h> #include <libgnomeprint/gnome-print-job.h> +#include <libgnomeprintui/gnome-print-job-preview.h> #include "addressbook/backend/ebook/e-card.h" #include "addressbook/backend/ebook/e-card-simple.h" diff --git a/addressbook/printing/e-contact-print.c b/addressbook/printing/e-contact-print.c index e3f79099bb..04a3523c56 100644 --- a/addressbook/printing/e-contact-print.c +++ b/addressbook/printing/e-contact-print.c @@ -1014,7 +1014,7 @@ e_contact_print_response(GtkWidget *dialog, gint response_id, gpointer data) GnomePrintJob *master; GnomePrintConfig *config; GnomePrintContext *pc; - gboolean uses_book = (gint) g_object_get_data(G_OBJECT(dialog), "uses_book"); + gboolean uses_book = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(dialog), "uses_book")); EBook *book = NULL; char *query = NULL; ECard *card = NULL; |