From f8730610042229f275a5a294df4c2eb5f225118e Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 26 May 2009 09:18:54 -0400 Subject: Fix compiler warnings in addressbook. --- addressbook/printing/Makefile.am | 2 -- addressbook/printing/test-print.c | 8 ++++---- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'addressbook/printing') 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); -- cgit