diff options
author | JP Rosevear <jpr@ximian.com> | 2003-05-15 02:40:01 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2003-05-15 02:40:01 +0800 |
commit | bd1f703edbe882894fb5901d5f8d206dec5e3079 (patch) | |
tree | ef1fc1380774325909182405b1a5e43639d8b6f7 /my-evolution/e-summary.h | |
parent | 74ee7fe6ae45bd9b498bb926aa0be181f68c48f2 (diff) | |
download | gsoc2013-evolution-bd1f703edbe882894fb5901d5f8d206dec5e3079.tar gsoc2013-evolution-bd1f703edbe882894fb5901d5f8d206dec5e3079.tar.gz gsoc2013-evolution-bd1f703edbe882894fb5901d5f8d206dec5e3079.tar.bz2 gsoc2013-evolution-bd1f703edbe882894fb5901d5f8d206dec5e3079.tar.lz gsoc2013-evolution-bd1f703edbe882894fb5901d5f8d206dec5e3079.tar.xz gsoc2013-evolution-bd1f703edbe882894fb5901d5f8d206dec5e3079.tar.zst gsoc2013-evolution-bd1f703edbe882894fb5901d5f8d206dec5e3079.zip |
fix up protos
2003-05-14 JP Rosevear <jpr@ximian.com>
* 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
Diffstat (limited to 'my-evolution/e-summary.h')
-rw-r--r-- | my-evolution/e-summary.h | 11 |
1 files changed, 6 insertions, 5 deletions
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 <gtk/gtkvbox.h> #include <bonobo/bonobo-ui-component.h> +#include <bonobo/bonobo-control.h> #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, |