aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2009-07-16 03:00:07 +0800
committerSrinivasa Ragavan <sragavan@novell.com>2009-07-16 03:03:33 +0800
commita2b1510a474a0ac434b05f92be3637398fb7b277 (patch)
treead3f8c18f6f2401f7169fdec14aa21e9a73adb5e
parent5cc01f17a337d125257a8dc3e248a4ae6b66ac92 (diff)
downloadgsoc2013-evolution-a2b1510a474a0ac434b05f92be3637398fb7b277.tar
gsoc2013-evolution-a2b1510a474a0ac434b05f92be3637398fb7b277.tar.gz
gsoc2013-evolution-a2b1510a474a0ac434b05f92be3637398fb7b277.tar.bz2
gsoc2013-evolution-a2b1510a474a0ac434b05f92be3637398fb7b277.tar.lz
gsoc2013-evolution-a2b1510a474a0ac434b05f92be3637398fb7b277.tar.xz
gsoc2013-evolution-a2b1510a474a0ac434b05f92be3637398fb7b277.tar.zst
gsoc2013-evolution-a2b1510a474a0ac434b05f92be3637398fb7b277.zip
Return account check flag.
-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);