summaryrefslogtreecommitdiff
path: root/telepathy-glib/channel.h
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2009-09-28 20:57:14 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2010-03-30 20:30:25 +0100
commit2195e11aa71b66e2221171b7cb7b6ca008c4449b (patch)
treec60952ff31015f8a251ae1a4feb449c3f2b5ce12 /telepathy-glib/channel.h
parentd0c9a2744cf25511712bdcf7edf083cfce9b8029 (diff)
downloadtelepathy-glib-2195e11aa71b66e2221171b7cb7b6ca008c4449b.tar.gz
Deprecate tp_channel_run_until_ready
Diffstat (limited to 'telepathy-glib/channel.h')
-rw-r--r--telepathy-glib/channel.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/telepathy-glib/channel.h b/telepathy-glib/channel.h
index e8751ae01..1da6ca185 100644
--- a/telepathy-glib/channel.h
+++ b/telepathy-glib/channel.h
@@ -23,6 +23,7 @@
#define __TP_CHANNEL_H__
#include <telepathy-glib/connection.h>
+#include <telepathy-glib/defs.h>
#include <telepathy-glib/enums.h>
#include <telepathy-glib/handle.h>
#include <telepathy-glib/intset.h>
@@ -80,8 +81,10 @@ TpChannel *tp_channel_new_from_properties (TpConnection *conn,
const gchar *object_path, const GHashTable *immutable_properties,
GError **error) G_GNUC_WARN_UNUSED_RESULT;
+#ifndef TP_DISABLE_DEPRECATED
gboolean tp_channel_run_until_ready (TpChannel *self, GError **error,
- GMainLoop **loop);
+ GMainLoop **loop) _TP_GNUC_DEPRECATED;
+#endif
typedef void (*TpChannelWhenReadyCb) (TpChannel *channel, const GError *error,
gpointer user_data);