From bd1f703edbe882894fb5901d5f8d206dec5e3079 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Wed, 14 May 2003 18:40:01 +0000 Subject: fix up protos 2003-05-14 JP Rosevear * e-summary.h: fix up protos * e-summary.c (e_summary_get_control): accessor (e_summary_set_control): ditto (retrieve_shell_view_interface): util to get the shell view (e_summary_change_current_view): use it (e_summary_set_message): ditto (e_summary_unset_message): ditto * e-summary-mail.h: add proto * e-summary-mail.c (e_summary_mail_get_info): use the objref of the listener (e_summary_folder_unregister_storage): clean up a registered storage (e_summary_folder_register_storages): store the listener directly (folder_info_pb_changed): unref the listener once we are notified (lazy_register_storages): release and unref the property bag, event and listener (e_summary_folder_init_folder_store): track the listener (e_summary_folder_clear_folder_store): cleanup the folder store * e-summary-factory.c (control_activate_cb): we don't get the shell view here any more (e_summary_factory_new_control): don't pass in the shell, set the control on the summary * component-factory.c (owner_unset_cb): clear the folder store on destruction svn path=/trunk/; revision=21177 --- my-evolution/component-factory.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'my-evolution/component-factory.c') diff --git a/my-evolution/component-factory.c b/my-evolution/component-factory.c index a3b0a384ed..5e93d7f3f8 100644 --- a/my-evolution/component-factory.c +++ b/my-evolution/component-factory.c @@ -113,7 +113,10 @@ static void owner_unset_cb (EvolutionShellComponent *shell_component, gpointer user_data) { - /* noop */ + g_free (evolution_dir); + evolution_dir = NULL; + + e_summary_folder_clear_folder_store (); } static BonoboObject * -- cgit v1.2.3