diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-11-08 17:39:27 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-11-08 17:39:27 +0000 |
commit | 2ce9260d14881fc747b3a807685393f4eaa66792 (patch) | |
tree | fed9aad6c8826bb682edaee18b53aef62fd5dd38 /telepathy-glib/debug.c | |
parent | dd8977c598bd57d67c7be4a76ec0b80c49b1e475 (diff) | |
download | telepathy-glib-2ce9260d14881fc747b3a807685393f4eaa66792.tar.gz |
Document that the debug functions do nothing if --disable-debug was used
20071108173927-53eee-8a7dcb73634225b0bbca020a80753a65214a5e29.gz
Diffstat (limited to 'telepathy-glib/debug.c')
-rw-r--r-- | telepathy-glib/debug.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/telepathy-glib/debug.c b/telepathy-glib/debug.c index dc522a4e0..47064fc45 100644 --- a/telepathy-glib/debug.c +++ b/telepathy-glib/debug.c @@ -66,6 +66,9 @@ static gboolean tp_debug_persistent = FALSE; * Activate all possible debug modes. This also activates persistent mode, * which should have been orthogonal. * + * If telepathy-glib was compiled with --disable-debug (not recommended), + * this function does nothing. + * * @deprecated since 0.6.1. Use tp_debug_set_flags ("all") and * tp_debug_set_persistent() instead. */ @@ -101,6 +104,9 @@ static GDebugKey persist_keys[] = { * * The parsing matches that of g_parse_debug_string(). * + * If telepathy-glib was compiled with --disable-debug (not recommended), + * this function does nothing. + * * @since 0.6.1 */ void @@ -127,6 +133,9 @@ tp_debug_set_flags (const gchar *flags_string) * * The parsing matches that of g_parse_debug_string(). * + * If telepathy-glib was compiled with --disable-debug (not recommended), + * this function does nothing. + * * @deprecated since 0.6.1. Use tp_debug_set_flags() and * tp_debug_set_persistent() instead */ @@ -148,6 +157,9 @@ tp_debug_set_flags_from_string (const gchar *flags_string) * <literal>tp_debug_set_flags_from_string (g_getenv (var))</literal>, * and has the same problem with persistence being included in "all". * + * If telepathy-glib was compiled with --disable-debug (not recommended), + * this function does nothing. + * * @deprecated since 0.6.1. Use tp_debug_set_flags(g_getenv(...)) and * tp_debug_set_persistent() instead */ @@ -169,6 +181,9 @@ tp_debug_set_flags_from_env (const gchar *var) * * Used to enable persistent operation of the connection manager process for * debugging purposes. + * + * If telepathy-glib was compiled with --disable-debug (not recommended), + * this function does nothing. */ void tp_debug_set_persistent (gboolean persistent) |