aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/em-account-editor.c4
-rw-r--r--mail/em-account-editor.h2
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);