Use g_debug() instead of g_message()
authorBehdad Esfahbod <behdad@behdad.org>
Mon, 6 Apr 2009 23:41:32 +0000 (19:41 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Mon, 6 Apr 2009 23:41:32 +0000 (19:41 -0400)
pango/break.c
pango/pango-layout.c

index fa49b3f..c170745 100644 (file)
@@ -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
index b2dae0a..e6f0b4d 100644 (file)
@@ -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)