summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2009-04-06 19:41:32 -0400
committerBehdad Esfahbod <behdad@behdad.org>2009-04-06 19:41:32 -0400
commit3948365307f6b70863d89af7da832b84af72c263 (patch)
tree1a0a0eb1606d67138bc55bd9ce422f3dbe15561e
parentfed14242693db7f79c51190698aaf015d0e0a44f (diff)
downloadpango-3948365307f6b70863d89af7da832b84af72c263.tar.gz
Use g_debug() instead of g_message()
-rw-r--r--pango/break.c2
-rw-r--r--pango/pango-layout.c10
2 files changed, 6 insertions, 6 deletions
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)