[telepathy-gabble/master] Added comments as to why the gabble messages shouldn't be sent to the debugger.
Jonny Lamb
jonny.lamb at collabora.co.uk
Wed Jun 3 04:06:25 PDT 2009
Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
src/gabble.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/gabble.c b/src/gabble.c
index 7e97b4b..e64c42e 100644
--- a/src/gabble.c
+++ b/src/gabble.c
@@ -57,6 +57,8 @@ simple_log (const gchar *log_domain,
{
g_log_default_handler (log_domain, log_level, message, NULL);
+ /* G_LOG_DOMAIN = "gabble". No need to send gabble messages to the debugger
+ * as they already have in gabble_debug. */
if (tp_strdiff (log_domain, G_LOG_DOMAIN))
{
GTimeVal now;
@@ -83,6 +85,7 @@ stamp_log (const gchar *log_domain,
g_log_default_handler (log_domain, log_level, tmp, NULL);
g_free (tmp);
+ /* Gabble messages are already sent to the debugger in gabble_debug. */
if (tp_strdiff (log_domain, G_LOG_DOMAIN))
log_to_debugger (&now, log_domain, log_level, message);
}
--
1.5.6.5
More information about the telepathy-commits
mailing list