[PATCH] notmuch-config: replace config reading function
Jani Nikula
jani at nikula.org
Sun Nov 6 01:30:08 PST 2016
> So replace g_key_file_load_from_file with g_key_file_load_from_data which
> gives us much more freedom to read configs from multiple sources.
I see how your function is a drop-in replacement to
g_key_file_load_from_file. However, I really don't like the
proliferation of GError here. Please consider this prep patch first. The
error handling will be easier to follow.
BR,
Jani.
Jani Nikula (1):
cli: abstract config file reading to a separate function
notmuch-config.c | 65 ++++++++++++++++++++++++++++++--------------------------
1 file changed, 35 insertions(+), 30 deletions(-)
--
2.1.4
More information about the notmuch
mailing list