aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-vfolder-rule.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-vfolder-rule.c')
-rw-r--r--mail/em-vfolder-rule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/em-vfolder-rule.c b/mail/em-vfolder-rule.c
index c4f81278e4..15b93f24b0 100644
--- a/mail/em-vfolder-rule.c
+++ b/mail/em-vfolder-rule.c
@@ -208,10 +208,10 @@ em_vfolder_rule_next_source(EMVFolderRule *vr, const char *last)
static int
validate(FilterRule *fr)
{
- g_return_val_if_fail(fr != NULL, FALSE);
+ g_return_val_if_fail(fr != NULL, 0);
if (!fr->name || !*fr->name) {
- /* FIXME: set a aprent window? */
+ /* FIXME: set a parent window? */
e_error_run(NULL, "mail:no-name-vfolder", NULL);
return 0;
}