diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-08-19 20:40:13 +0800 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-08-19 20:40:13 +0800 |
commit | 0d6ea34bb155e74a5ceac71cea9c550d7baaa85a (patch) | |
tree | c10efdf3afe6a410a74c51aa3c8b367be37cb10b | |
parent | d12645619d0fcf721d9edcdb8b7893e27364e17f (diff) | |
download | gsoc2013-empathy-0d6ea34bb155e74a5ceac71cea9c550d7baaa85a.tar gsoc2013-empathy-0d6ea34bb155e74a5ceac71cea9c550d7baaa85a.tar.gz gsoc2013-empathy-0d6ea34bb155e74a5ceac71cea9c550d7baaa85a.tar.bz2 gsoc2013-empathy-0d6ea34bb155e74a5ceac71cea9c550d7baaa85a.tar.lz gsoc2013-empathy-0d6ea34bb155e74a5ceac71cea9c550d7baaa85a.tar.xz gsoc2013-empathy-0d6ea34bb155e74a5ceac71cea9c550d7baaa85a.tar.zst gsoc2013-empathy-0d6ea34bb155e74a5ceac71cea9c550d7baaa85a.zip |
empathy-connectivity: disconnect from NM state change signal on finalize
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r-- | 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 a1f0383c7..b724865ba 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; } |