summaryrefslogtreecommitdiff
path: root/telepathy-glib/dbus.h
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2011-08-17 15:31:15 +0200
committerXavier Claessens <xclaesse@gmail.com>2011-08-24 10:33:22 +0200
commit7f465e4a7d2d552f8ded3fd58e537f84b6b9f3a2 (patch)
tree6776f0f81ed00b8c52f9519a61a54a0a11764c86 /telepathy-glib/dbus.h
parent9afe6d9d087e4bfd928717a5646e7fa6fe939509 (diff)
downloadtelepathy-glib-7f465e4a7d2d552f8ded3fd58e537f84b6b9f3a2.tar.gz
Hide tp_g_value_slice_new_foo() from g-i scanner
This is a workaround for GNOME bug #656743
Diffstat (limited to 'telepathy-glib/dbus.h')
-rw-r--r--telepathy-glib/dbus.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/telepathy-glib/dbus.h b/telepathy-glib/dbus.h
index de33e5aaa..bee701912 100644
--- a/telepathy-glib/dbus.h
+++ b/telepathy-glib/dbus.h
@@ -53,6 +53,9 @@ gboolean tp_dbus_check_valid_member_name (const gchar *name,
gboolean tp_dbus_check_valid_object_path (const gchar *path,
GError **error);
+/* The scanner warns about these, but they're skipped anyway.
+ * See GNOME bug#656743 */
+#ifndef __GI_SCANNER__
GValue *tp_g_value_slice_new_bytes (guint length, gconstpointer bytes)
G_GNUC_WARN_UNUSED_RESULT;
GValue *tp_g_value_slice_new_take_bytes (GArray *bytes)
@@ -63,6 +66,7 @@ GValue *tp_g_value_slice_new_static_object_path (const gchar *path)
G_GNUC_WARN_UNUSED_RESULT;
GValue *tp_g_value_slice_new_take_object_path (gchar *path)
G_GNUC_WARN_UNUSED_RESULT;
+#endif /* __GI_SCANNER__ */
#define tp_asv_size(asv) _tp_asv_size_inline (asv)