[brasero] Disconnect signal which prevents the callback to be called after the object was finalized



commit 1108937fc464fa536f14f750734f20905d2810a1
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Tue Aug 18 14:53:18 2009 +0200

    Disconnect signal which prevents the callback to be called after the object was finalized

 libbrasero-burn/brasero-burn-options.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/libbrasero-burn/brasero-burn-options.c b/libbrasero-burn/brasero-burn-options.c
index b726bd8..60c6acd 100644
--- a/libbrasero-burn/brasero-burn-options.c
+++ b/libbrasero-burn/brasero-burn-options.c
@@ -1026,6 +1026,9 @@ brasero_burn_options_finalize (GObject *object)
 						      brasero_burn_options_track_removed,
 						      object);
 		g_signal_handlers_disconnect_by_func (priv->session,
+						      brasero_burn_options_track_changed,
+						      object);
+		g_signal_handlers_disconnect_by_func (priv->session,
 						      brasero_burn_options_valid_cb,
 						      object);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]