summaryrefslogtreecommitdiff
path: root/telepathy-glib/dbus.h
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2008-07-08 11:00:29 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2008-07-08 11:00:29 +0000
commit84b411bbd11c81d3610572010fab7b1f728b7436 (patch)
tree6dbf4f6bace767e2d32c463da731304a3b780f3b /telepathy-glib/dbus.h
parentd493d27ef0f2372d610374caadd7d010f2ae7510 (diff)
downloadtelepathy-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.h5
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,