From 9e126a8d01dd36a19ab34a9d3edf016897b12d7e Mon Sep 17 00:00:00 2001 From: Not Zed Date: Wed, 31 Mar 2004 10:09:04 +0000 Subject: Cleaned up header inclusions and added plenty of forward declarations. 2004-03-31 Not Zed * *.[ch]: Cleaned up header inclusions and added plenty of forward declarations. Sped up complete re-compilation by upto 20%. ** See bug #55950. * em-utils.c (em_utils_in_addressbook): utility for checking if an email address is in the addressbook. I can't tell if it works 'cause it crashes eds. * em-format-html.c (emfh_gethttp): handle addressbook checking. 2004-03-30 Not Zed * mail-config.h: clean up the headers and use some forward decl's instead. * em-format-html.c (em_format_html_set_load_http): change state to an int 'style' instead. * em-folder-view.c (emfv_setting_notify): set the format load http option to the config value directly. ** See bug #56147. * message-list.c (clear_info): set the node data to NULL when we unref its data. (ml_get_save_id): use a different test for the root node, and return NULL if we don't have any data on the node (because we're cleaing it). ** See bug #54962. * em-folder-tree.c (emft_popup_new_folder_response): put back the old hack to open the vfolder editor if you try to create a folder under vfolders. ** See bug #55940. * mail-autofilter.c (mail_filter_rename_uri): map the uri to an email uri before passing to filter code. (mail_filter_delete_uri): same here. svn path=/trunk/; revision=25261 --- mail/mail-account-editor.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'mail/mail-account-editor.h') diff --git a/mail/mail-account-editor.h b/mail/mail-account-editor.h index ff66a47703..b2343390bf 100644 --- a/mail/mail-account-editor.h +++ b/mail/mail-account-editor.h @@ -28,11 +28,12 @@ extern "C" { #pragma } #endif /* __cplusplus */ -#include -#include +#include -#include "mail-account-gui.h" -#include "em-account-prefs.h" +struct _GtkNotebook; +struct _MailAccountGui; +struct _GtkWindow; +struct _EMAccountPrefs; #define MAIL_ACCOUNT_EDITOR_TYPE (mail_account_editor_get_type ()) #define MAIL_ACCOUNT_EDITOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), MAIL_ACCOUNT_EDITOR_TYPE, MailAccountEditor)) @@ -43,8 +44,8 @@ extern "C" { struct _MailAccountEditor { GtkDialog parent_object; - MailAccountGui *gui; - GtkNotebook *notebook; + struct _MailAccountGui *gui; + struct _GtkNotebook *notebook; }; typedef struct _MailAccountEditor MailAccountEditor; @@ -56,9 +57,9 @@ typedef struct { } MailAccountEditorClass; -GtkType mail_account_editor_get_type (void); +GType mail_account_editor_get_type (void); -MailAccountEditor *mail_account_editor_new (EAccount *account, GtkWindow *parent, EMAccountPrefs *dialog); +MailAccountEditor *mail_account_editor_new (struct _EAccount *account, struct _GtkWindow *parent, struct _EMAccountPrefs *dialog); #ifdef __cplusplus } -- cgit v1.2.3