From c29ad239284608c2a03043f9dc16f3ca1a28542e Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Fri, 2 Jul 2010 09:34:03 -0400 Subject: [PATCH] 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 --- docs/reference/gio/overview.xml | 2 +- gio/gdbusauth.c | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/reference/gio/overview.xml b/docs/reference/gio/overview.xml index 0847b28ba..37c469cce 100644 --- a/docs/reference/gio/overview.xml +++ b/docs/reference/gio/overview.xml @@ -365,7 +365,7 @@ authentication - Information about authentication + Show information about connection authentication The special value all can be used to turn on diff --git a/gio/gdbusauth.c b/gio/gdbusauth.c index d3a754e45..b2a930724 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