diff options
| author | Jani Nikula <jani@nikula.org> | 2017-10-07 11:44:04 +0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2017-10-09 22:24:02 -0300 |
| commit | 0f314c0c99befea599a68bea51d759b4133efef6 (patch) | |
| tree | 6d7fa97122e87bf6dcdb221267ac052f48331f59 /notmuch-setup.c | |
| parent | 54aef071590cb23f61da943daa29080cf7446696 (diff) | |
cli: convert notmuch_bool_t to stdbool
C99 stdbool turned 18 this year. There really is no reason to use our
own, except in the library interface for backward
compatibility. Convert the cli and test binaries to stdbool.
Diffstat (limited to 'notmuch-setup.c')
| -rw-r--r-- | notmuch-setup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/notmuch-setup.c b/notmuch-setup.c index 9a66810d..53048005 100644 --- a/notmuch-setup.c +++ b/notmuch-setup.c @@ -187,7 +187,7 @@ notmuch_setup_command (notmuch_config_t *config, (const char **) other_emails->pdata, other_emails->len); - g_ptr_array_free (other_emails, TRUE); + g_ptr_array_free (other_emails, true); prompt ("Top-level directory of your email archive [%s]: ", notmuch_config_get_database_path (config)); @@ -210,7 +210,7 @@ notmuch_setup_command (notmuch_config_t *config, notmuch_config_set_new_tags (config, (const char **) tags->pdata, tags->len); - g_ptr_array_free (tags, TRUE); + g_ptr_array_free (tags, true); } @@ -227,7 +227,7 @@ notmuch_setup_command (notmuch_config_t *config, (const char **) tags->pdata, tags->len); - g_ptr_array_free (tags, TRUE); + g_ptr_array_free (tags, true); } if (notmuch_config_save (config)) |
