diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2008-07-08 11:00:29 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2008-07-08 11:00:29 +0000 |
commit | 84b411bbd11c81d3610572010fab7b1f728b7436 (patch) | |
tree | 6dbf4f6bace767e2d32c463da731304a3b780f3b /telepathy-glib/dbus.h | |
parent | d493d27ef0f2372d610374caadd7d010f2ae7510 (diff) | |
download | telepathy-glib-84b411bbd11c81d3610572010fab7b1f728b7436.tar.gz |
tp_asv_get_size: work around gtkdoc breakage
20080708110029-53eee-189828f9f7dc8bc8d5cbf82f1dfe5410f4c5c513.gz
Diffstat (limited to 'telepathy-glib/dbus.h')
-rw-r--r-- | telepathy-glib/dbus.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/telepathy-glib/dbus.h b/telepathy-glib/dbus.h index 2fc99b16a..f3ac42745 100644 --- a/telepathy-glib/dbus.h +++ b/telepathy-glib/dbus.h @@ -88,10 +88,13 @@ gboolean tp_dbus_check_valid_object_path (const gchar *path, GError **error); #define tp_asv_size(asv) _tp_asv_size_inline (asv) + static inline guint _tp_asv_size_inline (const GHashTable *asv) { - return g_hash_table_size ((GHashTable *) asv); + /* The empty comment here is to stop gtkdoc thinking g_hash_table_size is + * a declaration. */ + return g_hash_table_size /* */ ((GHashTable *) asv); } gboolean tp_asv_get_boolean (const GHashTable *asv, const gchar *key, |