summaryrefslogtreecommitdiff
path: root/telepathy-glib/proxy.h
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2010-05-03 20:55:17 +1000
committerDanielle Madeley <danielle.madeley@collabora.co.uk>2010-05-03 21:01:31 +1000
commitb2c46b4b3769ab0041d2808e876f69b0ac23bfc9 (patch)
tree5dc2374f5fe406b07683b830451a6c314da633dd /telepathy-glib/proxy.h
parent275c1a8c88ac21803c924651f28f0650d1bc1edc (diff)
downloadtelepathy-glib-b2c46b4b3769ab0041d2808e876f69b0ac23bfc9.tar.gz
Work around GObject Introspection bug #615923
https://bugzilla.gnome.org/show_bug.cgi?id=615923 GObject-Introspection fails to parse this enum with NUM_TP_CONTACT_FEATURES in it, make this a #define instead.
Diffstat (limited to 'telepathy-glib/proxy.h')
-rw-r--r--telepathy-glib/proxy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/telepathy-glib/proxy.h b/telepathy-glib/proxy.h
index d99bda990..aacab8139 100644
--- a/telepathy-glib/proxy.h
+++ b/telepathy-glib/proxy.h
@@ -51,7 +51,7 @@ typedef enum {
TP_DBUS_ERROR_OBJECT_REMOVED = 8,
TP_DBUS_ERROR_CANCELLED = 9,
TP_DBUS_ERROR_INCONSISTENT = 10,
- NUM_TP_DBUS_ERRORS
+#define NUM_TP_DBUS_ERRORS (TP_DBUS_ERROR_INCONSISTENT + 1)
} TpDBusError;
struct _TpProxy {