From 672adf12a0923437e90d08ab7925bd9329fcce0d Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 16 Aug 2009 11:25:08 -0400 Subject: Fix compiler warnings and deprecated GTK+ API usage. --- addressbook/conduit/address-conduit.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'addressbook') diff --git a/addressbook/conduit/address-conduit.c b/addressbook/conduit/address-conduit.c index 172d45ee30..79c82cdb77 100644 --- a/addressbook/conduit/address-conduit.c +++ b/addressbook/conduit/address-conduit.c @@ -29,6 +29,14 @@ #define G_LOG_DOMAIN "eaddrconduit" +/* Work around deprecated API usage in GnomePilot. */ +#ifdef GTK_DISABLE_DEPRECATED +#include +#define GTK_CHECK_CAST G_TYPE_CHECK_INSTANCE_CAST +typedef GType GtkType; +#endif + +#include #include #include #include -- cgit