[balsa] filter-file: Fix loading filters
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa] filter-file: Fix loading filters
- Date: Sat, 20 Jul 2019 02:35:31 +0000 (UTC)
commit 76396dc1d9dc2ba51cf57eb1c2ad54b437dca308
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Fri Jul 19 22:33:43 2019 -0400
filter-file: Fix loading filters
* libbalsa/filter-file.c (libbalsa_mailbox_filters_load_config):
Fix loading filters.
ChangeLog | 5 +++++
libbalsa/filter-file.c | 3 ++-
2 files changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/ChangeLog b/ChangeLog
index 88ab567a4..eb1fa6252 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2019-07-19 Peter Bloomfield <pbloomfield bellsouth net>
+
+ * libbalsa/filter-file.c (libbalsa_mailbox_filters_load_config):
+ Fix loading filters.
+
2019-07-18 Peter Bloomfield <pbloomfield bellsouth net>
balsa-cite-bar: Declare it final
diff --git a/libbalsa/filter-file.c b/libbalsa/filter-file.c
index 1f6ce0104..39ac927e3 100644
--- a/libbalsa/filter-file.c
+++ b/libbalsa/filter-file.c
@@ -138,7 +138,7 @@ libbalsa_mailbox_filters_load_config(LibBalsaMailbox* mbox)
_("Invalid filters %s for mailbox %s"),
filters_names[i], libbalsa_mailbox_get_name(mbox));
}
- libbalsa_mailbox_set_filters(mbox, g_slist_reverse(filters));
+ filters = g_slist_reverse(filters);
}
g_strfreev(filters_names);
@@ -159,6 +159,7 @@ libbalsa_mailbox_filters_load_config(LibBalsaMailbox* mbox)
}
}
g_strfreev(filters_names);
+ libbalsa_mailbox_set_filters(mbox, filters);
}
filter_errno=FILTER_NOERR;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]