diff options
author | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2011-02-28 17:27:05 +1100 |
---|---|---|
committer | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2011-02-28 17:27:05 +1100 |
commit | 6861051e097fd9fb552badeb6f8e7c7eb03dc540 (patch) | |
tree | 0614efaf48f44fc721e3ca5f9f951d0865abac3f /telepathy-glib/account.h | |
parent | 921abe30797179870724a428c45264e27c93897a (diff) | |
download | telepathy-glib-6861051e097fd9fb552badeb6f8e7c7eb03dc540.tar.gz |
Add GBinding utilities for connection-status on TpAccount and TpConnection
This sets up the appropriate GBinding bits and pieces to bind a connection
status to a boolean property, e.g. GtkWidget:sensitive.
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=34813
Diffstat (limited to 'telepathy-glib/account.h')
-rw-r--r-- | telepathy-glib/account.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/telepathy-glib/account.h b/telepathy-glib/account.h index bf46f31d1..166f16242 100644 --- a/telepathy-glib/account.h +++ b/telepathy-glib/account.h @@ -249,6 +249,9 @@ void tp_account_set_uri_scheme_association_async (TpAccount *self, gboolean tp_account_set_uri_scheme_association_finish (TpAccount *self, GAsyncResult *result, GError **error); +GBinding *tp_account_bind_connection_status_to_property (TpAccount *self, + gpointer target, const char *target_property); + G_END_DECLS #include <telepathy-glib/_gen/tp-cli-account.h> |