telepathy-gabble: Stop using deprecated debug-ansi.h

Simon McVittie smcv at kemper.freedesktop.org
Mon May 7 11:19:43 PDT 2012


Module: telepathy-gabble
Branch: master
Commit: eda09f9123a74dcc7e1b5ad52816ff70d794dec2
URL:    http://cgit.freedesktop.org/telepathy/telepathy-gabble/commit/?id=eda09f9123a74dcc7e1b5ad52816ff70d794dec2

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Fri May  4 14:47:49 2012 +0100

Stop using deprecated debug-ansi.h

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49596
Reviewed-by: Xavier Claessens <xavier.claessens at collabora.co.uk>

---

 src/media-stream.c |    2 --
 src/muc-channel.c  |    6 ++----
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/media-stream.c b/src/media-stream.c
index 75c9ea3..cf94c97 100644
--- a/src/media-stream.c
+++ b/src/media-stream.c
@@ -27,8 +27,6 @@
 #include <string.h>
 
 #include <dbus/dbus-glib.h>
-#include <telepathy-glib/debug-ansi.h>
-
 #include <telepathy-glib/dbus.h>
 #include <telepathy-glib/enums.h>
 #include <telepathy-glib/errors.h>
diff --git a/src/muc-channel.c b/src/muc-channel.c
index 69fd30a..93ab206 100644
--- a/src/muc-channel.c
+++ b/src/muc-channel.c
@@ -29,7 +29,6 @@
 
 #include <dbus/dbus-glib.h>
 #include <telepathy-glib/dbus.h>
-#include <telepathy-glib/debug-ansi.h>
 #include <telepathy-glib/errors.h>
 #include <telepathy-glib/exportable-channel.h>
 #include <telepathy-glib/gtypes.h>
@@ -3324,8 +3323,7 @@ request_config_form_reply_cb (
     {
       GString *unsubstituted = g_string_new ("");
 
-      printf (TP_ANSI_BOLD_ON TP_ANSI_FG_WHITE TP_ANSI_BG_RED
-              "\n%s: the following properties were not substituted:\n",
+      printf ("\n%s: the following properties were not substituted:\n",
               G_STRFUNC);
 
       for (i = 0; i < TP_NUM_BASE_ROOM_CONFIG_PROPERTIES; i++)
@@ -3345,7 +3343,7 @@ request_config_form_reply_cb (
 
       printf ("\nthis is a MUC server compatibility bug in gabble, please "
               "report it with a full debug log attached (running gabble "
-              "with WOCKY_DEBUG=xmpp)" TP_ANSI_RESET "\n\n");
+              "with WOCKY_DEBUG=xmpp)\n\n");
       fflush (stdout);
 
       error = g_error_new (TP_ERRORS, TP_ERROR_SERVICE_CONFUSED,



More information about the telepathy-commits mailing list