[glib] GDBus: make G_DBUS_DEBUG=authentication work again
- From: David Zeuthen <davidz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] GDBus: make G_DBUS_DEBUG=authentication work again
- Date: Fri, 2 Jul 2010 13:36:09 +0000 (UTC)
commit c29ad239284608c2a03043f9dc16f3ca1a28542e
Author: David Zeuthen <davidz redhat com>
Date: Fri Jul 2 09:34:03 2010 -0400
GDBus: make G_DBUS_DEBUG=authentication work again
This was inadvertently removed in this commit
http://git.gnome.org/browse/glib/commit/?id=1d22b64843c83631bcd0e5255930f3a4e990961e
Signed-off-by: David Zeuthen <davidz redhat com>
docs/reference/gio/overview.xml | 2 +-
gio/gdbusauth.c | 4 ----
2 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/docs/reference/gio/overview.xml b/docs/reference/gio/overview.xml
index 0847b28..37c469c 100644
--- a/docs/reference/gio/overview.xml
+++ b/docs/reference/gio/overview.xml
@@ -365,7 +365,7 @@
</varlistentry>
<varlistentry>
<term>authentication</term>
- <listitem><para>Information about authentication</para></listitem>
+ <listitem><para>Show information about connection authentication</para></listitem>
</varlistentry>
</variablelist>
The special value <literal>all</literal> can be used to turn on
diff --git a/gio/gdbusauth.c b/gio/gdbusauth.c
index d3a754e..b2a9307 100644
--- a/gio/gdbusauth.c
+++ b/gio/gdbusauth.c
@@ -48,12 +48,9 @@
#include "glibintl.h"
#include "gioalias.h"
-#define DEBUG_ENABLED 0
-
static void
debug_print (const gchar *message, ...)
{
-#if DEBUG_ENABLED
if (G_UNLIKELY (_g_dbus_debug_authentication ()))
{
gchar *s;
@@ -79,7 +76,6 @@ debug_print (const gchar *message, ...)
g_string_free (str, TRUE);
g_free (s);
}
-#endif
}
typedef struct
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]