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/e-summary.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'my-evolution/e-summary.h') diff --git a/my-evolution/e-summary.h b/my-evolution/e-summary.h index 09aea33114..5700284776 100644 --- a/my-evolution/e-summary.h +++ b/my-evolution/e-summary.h @@ -25,6 +25,7 @@ #include #include +#include #include "e-summary-type.h" #include "e-summary-mail.h" #include "e-summary-calendar.h" @@ -117,9 +118,6 @@ struct _ESummary { ESummaryPrivate *priv; - GNOME_Evolution_Shell shell; - GNOME_Evolution_ShellView shell_view_interface; - gboolean online; char *timezone; @@ -132,8 +130,11 @@ struct _ESummaryClass { GtkType e_summary_get_type (void); -GtkWidget *e_summary_new (const GNOME_Evolution_Shell shell, - ESummaryPrefs *prefs); +GtkWidget *e_summary_new (ESummaryPrefs *prefs); + +BonoboControl *e_summary_get_control (ESummary *summary); +void e_summary_set_control (ESummary *summary, + BonoboControl *control); void e_summary_print (BonoboUIComponent *component, gpointer user_data, -- cgit v1.2.3