aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/printing
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/printing')
-rw-r--r--addressbook/printing/Makefile.am2
-rw-r--r--addressbook/printing/test-print.c8
2 files changed, 4 insertions, 6 deletions
diff --git a/addressbook/printing/Makefile.am b/addressbook/printing/Makefile.am
index c194f2705e..cd22b43380 100644
--- a/addressbook/printing/Makefile.am
+++ b/addressbook/printing/Makefile.am
@@ -7,8 +7,6 @@ ecps_DATA = \
INCLUDES = \
-DG_LOG_DOMAIN=\"addressbook-printing\" \
-I$(top_srcdir)/addressbook \
- -I$(top_srcdir)/addressbook/backend \
- -I$(top_builddir)/addressbook/backend \
-I$(top_srcdir) \
-DEVOLUTION_GLADEDIR=\""$(gladedir)"\" \
-DEVOLUTION_ECPSDIR=\""$(ecpsdir)"\" \
diff --git a/addressbook/printing/test-print.c b/addressbook/printing/test-print.c
index 3c02834de3..e871eb6270 100644
--- a/addressbook/printing/test-print.c
+++ b/addressbook/printing/test-print.c
@@ -36,10 +36,10 @@ main (int argc, char *argv[])
glade_init ();
- shown_fields = g_list_append (shown_fields, "First field");
- shown_fields = g_list_append (shown_fields, "Second field");
- shown_fields = g_list_append (shown_fields, "Third field");
- shown_fields = g_list_append (shown_fields, "Fourth field");
+ shown_fields = g_list_append (shown_fields, (gpointer) "First field");
+ shown_fields = g_list_append (shown_fields, (gpointer) "Second field");
+ shown_fields = g_list_append (shown_fields, (gpointer) "Third field");
+ shown_fields = g_list_append (shown_fields, (gpointer) "Fourth field");
/* does nothing */
e_contact_print (NULL, NULL, NULL, GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG);