From: Behdad Esfahbod Date: Mon, 6 Apr 2009 23:41:32 +0000 (-0400) Subject: Use g_debug() instead of g_message() X-Git-Tag: 1.24.1~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3948365307f6b70863d89af7da832b84af72c263;p=platform%2Fupstream%2Fpango.git Use g_debug() instead of g_message() --- diff --git a/pango/break.c b/pango/break.c index fa49b3f..c170745 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 b2dae0a..e6f0b4d 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)