[pango] Use g_debug() instead of g_message()
- From: Behdad Esfahbod <behdad src gnome org>
- To: svn-commits-list gnome org
- Subject: [pango] Use g_debug() instead of g_message()
- Date: Tue, 7 Apr 2009 14:34:17 -0400 (EDT)
commit 3948365307f6b70863d89af7da832b84af72c263
Author: Behdad Esfahbod <behdad behdad org>
Date: Mon Apr 6 19:41:32 2009 -0400
Use g_debug() instead of g_message()
---
pango/break.c | 2 +-
pango/pango-layout.c | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]