diff options
author | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2010-05-03 20:55:17 +1000 |
---|---|---|
committer | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2010-05-03 21:01:31 +1000 |
commit | b2c46b4b3769ab0041d2808e876f69b0ac23bfc9 (patch) | |
tree | 5dc2374f5fe406b07683b830451a6c314da633dd /telepathy-glib/proxy.h | |
parent | 275c1a8c88ac21803c924651f28f0650d1bc1edc (diff) | |
download | telepathy-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.h | 2 |
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 { |