[evolution] Bug 620150 - EventEditor: Disconnect signal handlers before disposing model
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug 620150 - EventEditor: Disconnect signal handlers before disposing model
- Date: Sat, 5 Jun 2010 19:16:22 +0000 (UTC)
commit 48751b61d6338ae4ad5cde25e5d305e60e5ba0b5
Author: Matthew Barnes <mbarnes redhat com>
Date: Sat Jun 5 15:14:57 2010 -0400
Bug 620150 - EventEditor: Disconnect signal handlers before disposing model
calendar/gui/dialogs/event-editor.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/calendar/gui/dialogs/event-editor.c b/calendar/gui/dialogs/event-editor.c
index 96242c0..f055884 100644
--- a/calendar/gui/dialogs/event-editor.c
+++ b/calendar/gui/dialogs/event-editor.c
@@ -408,6 +408,8 @@ event_editor_dispose (GObject *object)
}
if (priv->model) {
+ g_signal_handlers_disconnect_by_func (
+ priv->model, event_editor_model_changed_cb, object);
g_object_unref (priv->model);
priv->model = NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]