[empathy: 11/26] empathy-connectivity: disconnect from NM state change signal on finalize
- From: Jonny Lamb <jonnylamb src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy: 11/26] empathy-connectivity: disconnect from NM state change signal on finalize
- Date: Thu, 20 Aug 2009 13:45:21 +0000 (UTC)
commit 0d6ea34bb155e74a5ceac71cea9c550d7baaa85a
Author: Jonny Lamb <jonny lamb collabora co uk>
Date: Wed Aug 19 13:40:13 2009 +0100
empathy-connectivity: disconnect from NM state change signal on finalize
Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>
libempathy/empathy-connectivity.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libempathy/empathy-connectivity.c b/libempathy/empathy-connectivity.c
index a1f0383..b724865 100644
--- a/libempathy/empathy-connectivity.c
+++ b/libempathy/empathy-connectivity.c
@@ -124,6 +124,8 @@ connectivity_finalize (GObject *object)
if (priv->nm_client != NULL)
{
+ g_signal_handlers_disconnect_by_func (priv->nm_client,
+ connectivity_nm_state_change_cb, manager);
g_object_unref (priv->nm_client);
priv->nm_client = NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]