krb5-auth-dialog r74 - in trunk: . src
- From: walters svn gnome org
- To: svn-commits-list gnome org
- Subject: krb5-auth-dialog r74 - in trunk: . src
- Date: Mon, 9 Jun 2008 19:07:53 +0000 (UTC)
Author: walters
Date: Mon Jun 9 19:07:53 2008
New Revision: 74
URL: http://svn.gnome.org/viewvc/krb5-auth-dialog?rev=74&view=rev
Log:
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.
Modified:
trunk/ChangeLog
trunk/src/krb5-auth-dialog.c
Modified: trunk/src/krb5-auth-dialog.c
==============================================================================
--- trunk/src/krb5-auth-dialog.c (original)
+++ trunk/src/krb5-auth-dialog.c Mon Jun 9 19:07:53 2008
@@ -576,7 +576,7 @@
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 @@
}
if (run_always && !run_auto) {
- always_run++;
+ always_run = TRUE;
}
if (using_krb5 () || always_run) {
g_set_application_name (_("Network Authentication"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]