summaryrefslogtreecommitdiff
path: root/telepathy-glib/account-manager.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-01-24 17:34:12 +0100
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-01-24 17:34:12 +0100
commit49099ed58891b860444b37b29a213013c8d8f38b (patch)
treefa149204d068ce56236be9dac371a578ba1ddafc /telepathy-glib/account-manager.c
parent2c99e62bcf8cf4ab0ddcf6f50641076a77634b5a (diff)
parent0ca5332db718340aa8546cd828b138c411a99adf (diff)
downloadtelepathy-glib-49099ed58891b860444b37b29a213013c8d8f38b.tar.gz
Merge branch 'telepathy-glib-0.16'
Diffstat (limited to 'telepathy-glib/account-manager.c')
-rw-r--r--telepathy-glib/account-manager.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/telepathy-glib/account-manager.c b/telepathy-glib/account-manager.c
index 5fc244985..e1de32025 100644
--- a/telepathy-glib/account-manager.c
+++ b/telepathy-glib/account-manager.c
@@ -352,9 +352,9 @@ _tp_account_manager_update_most_available_presence (TpAccountManager *manager)
if (account == NULL)
{
- priv->most_available_presence = presence;
- priv->most_available_status = NULL;
- priv->most_available_status_message = NULL;
+ priv->most_available_presence = TP_CONNECTION_PRESENCE_TYPE_OFFLINE;
+ priv->most_available_status = g_strdup ("offline");
+ priv->most_available_status_message = g_strdup ("");
return;
}