summaryrefslogtreecommitdiff
path: root/telepathy-glib/connection.h
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2009-12-18 18:09:09 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2009-12-18 18:09:09 +0000
commitbfc6789e79f56e80574b7b78380277e256498095 (patch)
tree93aa660746387809e29c7afe1f9ef5ead9a73c83 /telepathy-glib/connection.h
parent9b44e18f87cee6580a1f2e99fa216b3d9d36073a (diff)
downloadtelepathy-glib-bfc6789e79f56e80574b7b78380277e256498095.tar.gz
various: warn about unused results that would indicate an obvious leak
Diffstat (limited to 'telepathy-glib/connection.h')
-rw-r--r--telepathy-glib/connection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/telepathy-glib/connection.h b/telepathy-glib/connection.h
index 8b081ec7f..fcacb7c60 100644
--- a/telepathy-glib/connection.h
+++ b/telepathy-glib/connection.h
@@ -71,7 +71,7 @@ GQuark tp_errors_disconnected_quark (void);
TpConnectionClass))
TpConnection *tp_connection_new (TpDBusDaemon *dbus, const gchar *bus_name,
- const gchar *object_path, GError **error);
+ const gchar *object_path, GError **error) G_GNUC_WARN_UNUSED_RESULT;
TpConnectionStatus tp_connection_get_status (TpConnection *self,
TpConnectionStatusReason *reason);