aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-10-02 04:24:49 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-10-02 04:24:49 +0800
commit656178049b4d1b73d4997aa983b778d4eb4054ae (patch)
treea5ad9c59d4fd231f6b6cb2e77eca139eaac8fe8d /addressbook
parentf62728b55e201ea92e682e07b3253ce4fb42d5af (diff)
downloadgsoc2013-evolution-656178049b4d1b73d4997aa983b778d4eb4054ae.tar.gz
gsoc2013-evolution-656178049b4d1b73d4997aa983b778d4eb4054ae.tar.zst
gsoc2013-evolution-656178049b4d1b73d4997aa983b778d4eb4054ae.zip
Build with GTK_DISABLE_DEPRECATED and fix resulting breakage.
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/conduit/address-conduit.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/addressbook/conduit/address-conduit.c b/addressbook/conduit/address-conduit.c
index b9a5731400..2b0317e70e 100644
--- a/addressbook/conduit/address-conduit.c
+++ b/addressbook/conduit/address-conduit.c
@@ -30,12 +30,7 @@
#define G_LOG_DOMAIN "eaddrconduit"
/* Work around deprecated API usage in GnomePilot. */
-#ifdef GTK_DISABLE_DEPRECATED
-#include <glib-object.h>
-#define GTK_CHECK_CAST G_TYPE_CHECK_INSTANCE_CAST
-typedef GType GtkType;
-#endif
-
+#undef GTK_DISABLE_DEPRECATED
#undef GTK_DISABLE_SINGLE_INCLUDES
#include <glib/gi18n.h>