aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/printing
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-26 21:18:54 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-26 21:18:54 +0800
commitf8730610042229f275a5a294df4c2eb5f225118e (patch)
treeef36b4df5144619db1c4f0f3d207af7645f77bc4 /addressbook/printing
parente4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed (diff)
downloadgsoc2013-evolution-f8730610042229f275a5a294df4c2eb5f225118e.tar.gz
gsoc2013-evolution-f8730610042229f275a5a294df4c2eb5f225118e.tar.zst
gsoc2013-evolution-f8730610042229f275a5a294df4c2eb5f225118e.zip
Fix compiler warnings in addressbook.
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);