From a2b1510a474a0ac434b05f92be3637398fb7b277 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Thu, 16 Jul 2009 00:30:07 +0530 Subject: Return account check flag. --- mail/em-account-editor.c | 4 ++-- mail/em-account-editor.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c index 86640aba52..d95463b8b2 100644 --- a/mail/em-account-editor.c +++ b/mail/em-account-editor.c @@ -2924,10 +2924,10 @@ emae_check_complete (EConfig *ec, const gchar *pageid, gpointer data) return ok; } -void +gboolean em_account_editor_check (EMAccountEditor *emae, const gchar *page) { - emae_check_complete ((EConfig *)emae->config, page, emae); + return emae_check_complete ((EConfig *)emae->config, page, emae); } /* HACK: FIXME: the component should listen to the account object directly */ diff --git a/mail/em-account-editor.h b/mail/em-account-editor.h index d8d96f58f0..12e7506a23 100644 --- a/mail/em-account-editor.h +++ b/mail/em-account-editor.h @@ -67,7 +67,7 @@ GType em_account_editor_get_type(void); EMAccountEditor *em_account_editor_new(EAccount *account, em_account_editor_t type, const gchar *id); EMAccountEditor *em_account_editor_new_for_pages(EAccount *account, em_account_editor_t type, gchar *id, GtkWidget **pages); void em_account_editor_commit (EMAccountEditor *emae); -void em_account_editor_check (EMAccountEditor *emae, const gchar *page); +gboolean em_account_editor_check (EMAccountEditor *emae, const gchar *page); gboolean em_account_editor_save (EMAccountEditor *gui); void em_account_editor_destroy (EMAccountEditor *gui); -- cgit v1.2.3