2008-06-09 Colin Walters <walters@verbum.org>
authorwalters <walters@517b70f8-ed25-0410-8bf6-f5db08f7b76e>
Mon, 9 Jun 2008 19:07:53 +0000 (19:07 +0000)
committerwalters <walters@517b70f8-ed25-0410-8bf6-f5db08f7b76e>
Mon, 9 Jun 2008 19:07:53 +0000 (19:07 +0000)
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
src/krb5-auth-dialog.c

index 34ba69b6d5ec528ff8f17c008117e9bd500394b9..51b95327bba7f70fbcd4c9e1a9121f74e9f6f97e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-06-09  Colin Walters  <walters@verbum.org>
+
+       Bug 534515: cleanups
+
+       * src/krb5-auth-dialog.c: Cleaner use of
+       gboolean.  Patch from from Guido Günther.
+
 2008-06-09  Colin Walters  <walters@verbum.org>
 
        Bug 534515: cleanups
index 803ce954c8a9ee1490bd2b2ada9d7af82301ca3f..6aa09a5bafe8f01b78ac84e630bd933609cf4f06 100644 (file)
@@ -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"));