aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-03-11 20:22:14 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-03-11 20:22:14 +0800
commit3a8381dea1650263ba14feb92ffe1848cd4699b6 (patch)
treed3c1b5e4952f109a84430d66ce62d5663981368c
parenta76c204cb8b97ba81a8ce244e3eccd67c301a3f3 (diff)
downloadgsoc2013-empathy-3a8381dea1650263ba14feb92ffe1848cd4699b6.tar
gsoc2013-empathy-3a8381dea1650263ba14feb92ffe1848cd4699b6.tar.gz
gsoc2013-empathy-3a8381dea1650263ba14feb92ffe1848cd4699b6.tar.bz2
gsoc2013-empathy-3a8381dea1650263ba14feb92ffe1848cd4699b6.tar.lz
gsoc2013-empathy-3a8381dea1650263ba14feb92ffe1848cd4699b6.tar.xz
gsoc2013-empathy-3a8381dea1650263ba14feb92ffe1848cd4699b6.tar.zst
gsoc2013-empathy-3a8381dea1650263ba14feb92ffe1848cd4699b6.zip
Set self handle to 0 when connection is invalidated
svn path=/trunk/; revision=743
-rw-r--r--libempathy/empathy-tp-contact-factory.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libempathy/empathy-tp-contact-factory.c b/libempathy/empathy-tp-contact-factory.c
index 7ec56a3af..cdd980372 100644
--- a/libempathy/empathy-tp-contact-factory.c
+++ b/libempathy/empathy-tp-contact-factory.c
@@ -657,11 +657,11 @@ tp_contact_factory_connection_invalidated_cb (EmpathyTpContactFactory *tp_factor
g_object_unref (priv->connection);
priv->connection = NULL;
priv->ready = FALSE;
+ priv->self_handle = 0;
g_list_foreach (priv->contacts,
tp_contact_factory_disconnect_contact_foreach,
tp_factory);
-
}
@@ -760,7 +760,6 @@ tp_contact_factory_status_updated (EmpathyTpContactFactory *tp_factory)
if (priv->connection) {
/* We already have our connection object */
- g_object_unref (tp_conn);
return;
}