diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2009-09-28 20:57:33 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2010-03-30 20:30:25 +0100 |
commit | 55b6d0d4a636f3f5242ee78f951252c48fcb9be9 (patch) | |
tree | 268a90961b5a31c74402fe6469a4d12628739a67 /telepathy-glib/connection.h | |
parent | 2195e11aa71b66e2221171b7cb7b6ca008c4449b (diff) | |
download | telepathy-glib-55b6d0d4a636f3f5242ee78f951252c48fcb9be9.tar.gz |
Deprecate tp_connection_run_until_ready
Diffstat (limited to 'telepathy-glib/connection.h')
-rw-r--r-- | telepathy-glib/connection.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/telepathy-glib/connection.h b/telepathy-glib/connection.h index fcacb7c60..fb917f976 100644 --- a/telepathy-glib/connection.h +++ b/telepathy-glib/connection.h @@ -22,6 +22,7 @@ #ifndef __TP_CONNECTION_H__ #define __TP_CONNECTION_H__ +#include <telepathy-glib/defs.h> #include <telepathy-glib/enums.h> #include <telepathy-glib/handle.h> #include <telepathy-glib/proxy.h> @@ -80,9 +81,11 @@ TpHandle tp_connection_get_self_handle (TpConnection *self); gboolean tp_connection_is_ready (TpConnection *self); +#ifndef TP_DISABLE_DEPRECATED gboolean tp_connection_run_until_ready (TpConnection *self, gboolean connect, GError **error, - GMainLoop **loop); + GMainLoop **loop) _TP_GNUC_DEPRECATED; +#endif typedef void (*TpConnectionWhenReadyCb) (TpConnection *connection, const GError *error, gpointer user_data); |