[telepathy-glib/master] account: ConnectionStatus is a uint32, not an int32
Jonny Lamb
jonny.lamb at collabora.co.uk
Mon Sep 28 07:38:58 PDT 2009
Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
telepathy-glib/account.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/telepathy-glib/account.c b/telepathy-glib/account.c
index 2f1caa5..8220dbf 100644
--- a/telepathy-glib/account.c
+++ b/telepathy-glib/account.c
@@ -366,7 +366,8 @@ _tp_account_update (TpAccount *account,
if (g_hash_table_lookup (properties, "ConnectionStatus") != NULL)
priv->connection_status =
- tp_asv_get_int32 (properties, "ConnectionStatus", NULL);
+ tp_asv_get_uint32 (properties, "ConnectionStatus", NULL);
+
if (g_hash_table_lookup (properties, "ConnectionStatusReason") != NULL)
priv->reason = tp_asv_get_int32 (properties,
--
1.5.6.5
More information about the telepathy-commits
mailing list