diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2012-12-11 07:10:48 -0800 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2012-12-11 11:59:40 -0800 |
commit | 1b47b03c2a159aa1a70a3ea3949a9acb13ab4256 (patch) | |
tree | e5b7b1e0dc3512c3826b38639b97a56f61aba174 /main.c | |
parent | 30e7f3131875b71dcd056d82bbade2e8f00d1e70 (diff) |
Convert ints used as bools to gbooleans
This matches the GOption documentation that G_OPTION_ARG_NONE should use
a gboolean.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 44 |
1 files changed, 22 insertions, 22 deletions
@@ -38,33 +38,33 @@ char *pcsysrootdir = NULL; char *pkg_config_pc_path = NULL; -static int want_my_version = 0; -static int want_version = 0; -static int want_libs = 0; -static int want_cflags = 0; -static int want_l_libs = 0; -static int want_L_libs = 0; -static int want_other_libs = 0; -static int want_I_cflags = 0; -static int want_other_cflags = 0; -static int want_list = 0; -static int want_static_lib_list = ENABLE_INDIRECT_DEPS; -static int want_short_errors = 0; -static int want_uninstalled = 0; +static gboolean want_my_version = FALSE; +static gboolean want_version = FALSE; +static gboolean want_libs = FALSE; +static gboolean want_cflags = FALSE; +static gboolean want_l_libs = FALSE; +static gboolean want_L_libs = FALSE; +static gboolean want_other_libs = FALSE; +static gboolean want_I_cflags = FALSE; +static gboolean want_other_cflags = FALSE; +static gboolean want_list = FALSE; +static gboolean want_static_lib_list = ENABLE_INDIRECT_DEPS; +static gboolean want_short_errors = FALSE; +static gboolean want_uninstalled = FALSE; static char *variable_name = NULL; -static int want_exists = 0; -static int want_provides = 0; -static int want_requires = 0; -static int want_requires_private = 0; +static gboolean want_exists = FALSE; +static gboolean want_provides = FALSE; +static gboolean want_requires = FALSE; +static gboolean want_requires_private = FALSE; static char *required_atleast_version = NULL; static char *required_exact_version = NULL; static char *required_max_version = NULL; static char *required_pkgconfig_version = NULL; -static int want_silence_errors = 0; -static int want_variable_list = 0; -static int want_debug_spew = 0; -static int want_verbose_errors = 0; -static int want_stdout_errors = 0; +static gboolean want_silence_errors = FALSE; +static gboolean want_variable_list = FALSE; +static gboolean want_debug_spew = FALSE; +static gboolean want_verbose_errors = FALSE; +static gboolean want_stdout_errors = FALSE; void debug_spew (const char *format, ...) |