[evolution] Disconnect signal handler from 'candidate' on its free
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Disconnect signal handler from 'candidate' on its free
- Date: Wed, 22 Aug 2012 17:35:13 +0000 (UTC)
commit 0ee1a173d52a671b2c3c0656fda74e6015cfd225
Author: Milan Crha <mcrha redhat com>
Date: Wed Aug 22 19:33:53 2012 +0200
Disconnect signal handler from 'candidate' on its free
widgets/misc/e-source-config.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/widgets/misc/e-source-config.c b/widgets/misc/e-source-config.c
index 79d2e24..16c3c05 100644
--- a/widgets/misc/e-source-config.c
+++ b/widgets/misc/e-source-config.c
@@ -231,6 +231,10 @@ source_config_add_candidate (ESourceConfig *config,
static void
source_config_free_candidate (Candidate *candidate)
{
+ g_signal_handlers_disconnect_matched (
+ candidate->scratch_source, G_SIGNAL_MATCH_FUNC,
+ 0, 0, NULL, G_CALLBACK (e_source_config_check_complete), NULL);
+
g_object_unref (candidate->page);
g_object_unref (candidate->scratch_source);
g_object_unref (candidate->backend);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]