From 4ff0a43cd48adc7cdc98be078cdfbc425aa7e8b0 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 14 Nov 2002 23:26:55 +0000 Subject: Use g_object_weak_ref rather than connecting to destroy. 2002-11-14 Jeffrey Stedfast * mail-accounts.c (account_edit_clicked): Use g_object_weak_ref rather than connecting to destroy. (account_add_clicked): Same. * mail-callbacks.c (addrbook_sender): Make this use g_object_weak_notify also. (subscribe_dialog_destroy): Add NULL guards here since I think we really do want to connect to the "destroy" signal in the function that connects us to that signal. * mail-config-factory.c (config_control_factory_cb): Same. * mail-display.c (save_part): Here too. (make_popup_window): And here. * mail-send-recv.c (build_dialogue): Same here. * mail-summary.c (create_summary_view): Use g_object_weak_notify instead of connecting to the destroy signal. svn path=/trunk/; revision=18764 --- mail/ChangeLog | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'mail/ChangeLog') diff --git a/mail/ChangeLog b/mail/ChangeLog index 8ad06c8466..946ec61033 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,25 @@ +2002-11-14 Jeffrey Stedfast + + * mail-accounts.c (account_edit_clicked): Use g_object_weak_ref + rather than connecting to destroy. + (account_add_clicked): Same. + + * mail-callbacks.c (addrbook_sender): Make this use + g_object_weak_notify also. + (subscribe_dialog_destroy): Add NULL guards here since I think we + really do want to connect to the "destroy" signal in the function + that connects us to that signal. + + * mail-config-factory.c (config_control_factory_cb): Same. + + * mail-display.c (save_part): Here too. + (make_popup_window): And here. + + * mail-send-recv.c (build_dialogue): Same here. + + * mail-summary.c (create_summary_view): Use g_object_weak_notify + instead of connecting to the destroy signal. + 2002-11-14 Ettore Perazzoli * component-factory.c (owner_set_cb): Want a (GWeakNotify) cast -- cgit v1.2.3