[telepathy-mission-control/master] McdClientProxy: if set inactive, store the fact that the unique name is known to be empty

Simon McVittie simon.mcvittie at collabora.co.uk
Thu May 28 07:00:00 PDT 2009


Storing NULL means the unique name is unknown.
---
 src/mcd-client.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mcd-client.c b/src/mcd-client.c
index 00f18b9..64d94cf 100644
--- a/src/mcd-client.c
+++ b/src/mcd-client.c
@@ -283,7 +283,7 @@ _mcd_client_proxy_set_inactive (McdClientProxy *self)
     g_return_if_fail (MCD_IS_CLIENT_PROXY (self));
 
     g_free (self->priv->unique_name);
-    self->priv->unique_name = NULL;
+    self->priv->unique_name = g_strdup ("");
 }
 
 void
-- 
1.5.6.5




More information about the telepathy-commits mailing list