From 23e9eb07a2fe6e7bb730bd37e69effa034210f80 Mon Sep 17 00:00:00 2001 From: walters Date: Mon, 9 Jun 2008 19:07:53 +0000 Subject: 2008-06-09 Colin Walters MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug 534515: cleanups * src/krb5-auth-dialog.c: Cleaner use of gboolean. Patch from from Guido Günther. git-svn-id: http://svn.gnome.org/svn/krb5-auth-dialog/trunk@74 517b70f8-ed25-0410-8bf6-f5db08f7b76e --- ChangeLog | 7 +++++++ src/krb5-auth-dialog.c | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 34ba69b..51b9532 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-06-09 Colin Walters + + Bug 534515: cleanups + + * src/krb5-auth-dialog.c: Cleaner use of + gboolean. Patch from from Guido Günther. + 2008-06-09 Colin Walters Bug 534515: cleanups diff --git a/src/krb5-auth-dialog.c b/src/krb5-auth-dialog.c index 803ce95..6aa09a5 100644 --- a/src/krb5-auth-dialog.c +++ b/src/krb5-auth-dialog.c @@ -576,7 +576,7 @@ main (int argc, char *argv[]) DBusGProxy *bus_proxy; guint request_name_reply; unsigned int flags; - int run_auto = 0, run_always = 0; + gboolean run_auto = FALSE, run_always = FALSE; const char *help_msg = "Run '" PACKAGE " --help' to see a full list of available command line options"; const GOptionEntry options [] = { {"auto", 'a', 0, G_OPTION_ARG_NONE, &run_auto, @@ -642,7 +642,7 @@ main (int argc, char *argv[]) } if (run_always && !run_auto) { - always_run++; + always_run = TRUE; } if (using_krb5 () || always_run) { g_set_application_name (_("Network Authentication")); -- cgit v1.2.3