From 3948365307f6b70863d89af7da832b84af72c263 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 6 Apr 2009 19:41:32 -0400 Subject: Use g_debug() instead of g_message() --- pango/break.c | 2 +- pango/pango-layout.c | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'pango') diff --git a/pango/break.c b/pango/break.c index fa49b3fc..c1707456 100644 --- a/pango/break.c +++ b/pango/break.c @@ -857,7 +857,7 @@ pango_default_break (const gchar *text, /* We apply Rules WB1 and WB2 at the end of the function */ if (prev_wc == 0x3031 && wc == 0x41) - g_message ("Y %d %d", prev_WB_type, WB_type); + g_debug ("Y %d %d", prev_WB_type, WB_type); if (prev_WB_type == WB_NewlineCRLF && prev_WB_i + 1 == i) { /* The extra check for prev_WB_i is to correctly handle sequences like diff --git a/pango/pango-layout.c b/pango/pango-layout.c index b2dae0a4..e6f0b4d0 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -3186,11 +3186,11 @@ debug (const char *where, PangoLayoutLine *line, ParaBreakState *state) { int line_width = pango_layout_line_get_width (line); - g_message ("rem %d + line %d = %d %s", - state->remaining_width, - line_width, - state->remaining_width + line_width, - where); + g_debug ("rem %d + line %d = %d %s", + state->remaining_width, + line_width, + state->remaining_width + line_width, + where); } #else # define DEBUG(where, line, state) do { } while (0) -- cgit v1.2.1