diff options
author | Federico Mena Quintero <federico@nuclecu.unam.mx> | 1998-02-17 20:13:43 +0000 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-02-17 20:13:43 +0000 |
commit | 1410a8a00332ac0f6079102fbc02134a10a250a2 (patch) | |
tree | 13c326607bb951b2cec66041730f88732b3747f7 /gdk/gdkcc.c | |
parent | 825aa9501b61df841e657aa55b762e2ae6037dd1 (diff) | |
download | gtk+-1410a8a00332ac0f6079102fbc02134a10a250a2.tar.gz |
Added some missing newlines on debug messages.
1998-02-17 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdk/gdkcc.c: Added some missing newlines on debug messages.
Diffstat (limited to 'gdk/gdkcc.c')
-rw-r--r-- | gdk/gdkcc.c | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/gdk/gdkcc.c b/gdk/gdkcc.c index cd0c314f4a..d027c6de6d 100644 --- a/gdk/gdkcc.c +++ b/gdk/gdkcc.c @@ -553,7 +553,7 @@ gdk_color_context_new (GdkVisual *visual, case GDK_VISUAL_STATIC_GRAY: case GDK_VISUAL_GRAYSCALE: if (gdk_debug_level >= 1) - g_print ("gdk_color_context_new: visual class is %s", + g_print ("gdk_color_context_new: visual class is %s\n", (visual->type == GDK_VISUAL_STATIC_GRAY) ? "GDK_VISUAL_STATIC_GRAY" : "GDK_VISUAL_GRAYSCALE"); @@ -567,16 +567,14 @@ gdk_color_context_new (GdkVisual *visual, case GDK_VISUAL_TRUE_COLOR: /* shifts */ if (gdk_debug_level >= 1) - g_print ("gdk_color_context_new: visual class is " - "GDK_VISUAL_TRUE_COLOR"); + g_print ("gdk_color_context_new: visual class is GDK_VISUAL_TRUE_COLOR\n"); init_true_color (cc); break; case GDK_VISUAL_DIRECT_COLOR: /* shifts and fake CLUT */ if (gdk_debug_level >= 1) - g_print ("gdk_color_context_new: visual class is " - "GDK_VISUAL_DIRECT_COLOR"); + g_print ("gdk_color_context_new: visual class is GDK_VISUAL_DIRECT_COLOR\n"); init_direct_color (cc); break; @@ -584,7 +582,7 @@ gdk_color_context_new (GdkVisual *visual, case GDK_VISUAL_STATIC_COLOR: case GDK_VISUAL_PSEUDO_COLOR: if (gdk_debug_level >= 1) - g_print ("gdk_color_context_new: visual class is %s", + g_print ("gdk_color_context_new: visual class is %s\n", (visual->type == GDK_VISUAL_STATIC_COLOR) ? "GDK_VISUAL_STATIC_COLOR" : "GDK_VISUAL_PSEUDO_COLOR"); @@ -610,7 +608,7 @@ gdk_color_context_new (GdkVisual *visual, cc->num_allocated = 0; if (gdk_debug_level >= 1) - g_print ("gdk_color_context_new: screen depth is %i, no. of colors is %i", + g_print ("gdk_color_context_new: screen depth is %i, no. of colors is %i\n", cc->visual->depth, cc->num_colors); /* check if we need to initialize a hash table */ @@ -815,7 +813,7 @@ gdk_color_context_get_pixel (GdkColorContext *cc, if (gdk_debug_level >= 1) g_print ("gdk_color_context_get_pixel: " - "resizing CLUT to %i entries", + "resizing CLUT to %i entries\n", cc->max_colors); cc->clut = g_realloc (cc->clut, @@ -910,7 +908,7 @@ gdk_color_context_get_pixels (GdkColorContext *cc, { if (gdk_debug_level >= 1) g_print ("gdk_color_context_get_pixels: got all %i colors; " - "(%i colors allocated so far", ncolors, cc->num_allocated); + "(%i colors allocated so far)\n", ncolors, cc->num_allocated); return; } @@ -1035,7 +1033,7 @@ gdk_color_context_get_pixels (GdkColorContext *cc, { if (gdk_debug_level >= 1) g_print ("gdk_color_context_get_pixels: got %i colors, %i exact and " - "%i close (%i colors allocated so far)", + "%i close (%i colors allocated so far)\n", ncolors, exact_col, close_col, cc->num_allocated); return; @@ -1106,7 +1104,7 @@ gdk_color_context_get_pixels (GdkColorContext *cc, if (gdk_debug_level >= 1) g_print ("gdk_color_context_get_pixels: got %i colors, %i exact, %i close, " - "%i substituted, %i to black (%i colors allocated so far)", + "%i substituted, %i to black (%i colors allocated so far)\n", ncolors, exact_col, close_col, subst_col, black_col, cc->num_allocated); } @@ -1180,7 +1178,7 @@ gdk_color_context_get_pixels_incremental (GdkColorContext *cc, else if (gdk_debug_level >= 1) g_print ("gdk_color_context_get_pixels_incremental: " - "pixel at slot %i already allocated, skipping", i); + "pixel at slot %i already allocated, skipping\n", i); #endif } } @@ -1191,7 +1189,7 @@ gdk_color_context_get_pixels_incremental (GdkColorContext *cc, { if (gdk_debug_level >= 1) g_print ("gdk_color_context_get_pixels_incremental: got all %i colors " - "(%i colors allocated so far)", + "(%i colors allocated so far)\n", ncolors, cc->num_allocated); return; @@ -1298,7 +1296,7 @@ gdk_color_context_get_pixels_incremental (GdkColorContext *cc, if (gdk_debug_level >= 1) g_print ("gdk_color_context_get_pixels_incremental: " "got %i colors, %i exact and %i close " - "(%i colors allocated so far)", + "(%i colors allocated so far)\n", ncolors, exact_col, close_col, cc->num_allocated); return; @@ -1369,7 +1367,7 @@ gdk_color_context_get_pixels_incremental (GdkColorContext *cc, if (gdk_debug_level >= 1) g_print ("gdk_color_context_get_pixels_incremental: " "got %i colors, %i exact, %i close, %i substituted, %i to black " - "(%i colors allocated so far)", + "(%i colors allocated so far)\n", ncolors, exact_col, close_col, subst_col, black_col, cc->num_allocated); } |