[Telepathy-commits] [telepathy-salut/master] src/salut-tubes-channel.c: Fix previous "if" in previous commit

Alban Crequy alban.crequy at collabora.co.uk
Tue Nov 25 03:59:33 PST 2008


---
 src/salut-tubes-channel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/salut-tubes-channel.c b/src/salut-tubes-channel.c
index 9017017..2a47061 100644
--- a/src/salut-tubes-channel.c
+++ b/src/salut-tubes-channel.c
@@ -393,7 +393,7 @@ salut_tubes_channel_set_property (GObject *object,
       case PROP_XMPP_CONNECTION_MANAGER:
         priv->xmpp_connection_manager = g_value_get_object (value);
         /* xmpp_connection_manager is set only for 1-1 tubes */
-        if (priv->contact != NULL)
+        if (priv->xmpp_connection_manager != NULL)
           g_object_ref (priv->xmpp_connection_manager);
         break;
       case PROP_INITIATOR_HANDLE:
-- 
1.5.6.5




More information about the Telepathy-commits mailing list