[next] telepathy-glib: GroupMixin: Use DEBUG() instead of printf()
Simon McVittie
smcv at kemper.freedesktop.org
Thu Sep 12 09:57:32 PDT 2013
Module: telepathy-glib
Branch: next
Commit: b105ec76bdc812cd83134618c216773466f18056
URL: http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=b105ec76bdc812cd83134618c216773466f18056
Author: Xavier Claessens <xavier.claessens at collabora.co.uk>
Date: Tue Mar 19 10:41:19 2013 +0100
GroupMixin: Use DEBUG() instead of printf()
---
telepathy-glib/group-mixin.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/telepathy-glib/group-mixin.c b/telepathy-glib/group-mixin.c
index 5687342..06059bc 100644
--- a/telepathy-glib/group-mixin.c
+++ b/telepathy-glib/group-mixin.c
@@ -1247,14 +1247,12 @@ tp_group_mixin_change_flags (GObject *obj,
str_removed = group_flags_to_string (removed);
str_flags = group_flags_to_string (mixin->group_flags);
- printf ("%s: emitting group flags changed\n"
+ DEBUG ("%s: emitting group flags changed\n"
" added : %s\n"
" removed : %s\n"
" flags now: %s\n",
G_STRFUNC, str_added, str_removed, str_flags);
- fflush (stdout);
-
g_free (str_added);
g_free (str_removed);
g_free (str_flags);
@@ -1454,7 +1452,7 @@ emit_members_changed_signals (GObject *channel,
local_str = member_array_to_string (mixin->handle_repo, local_pending);
remote_str = member_array_to_string (mixin->handle_repo, remote_pending);
- printf ("%s: emitting members changed\n"
+ DEBUG ("%s: emitting members changed\n"
" message : \"%s\"\n"
" added : %s\n"
" removed : %s\n"
@@ -1465,8 +1463,6 @@ emit_members_changed_signals (GObject *channel,
G_STRFUNC, message, add_str, rem_str, local_str, remote_str,
actor, reason, group_change_reason_str (reason));
- fflush (stdout);
-
g_free (add_str);
g_free (rem_str);
g_free (local_str);
More information about the telepathy-commits
mailing list