Merge from stable:

2002-08-01  Sven Neumann  <sven@gimp.org>

	Merge from stable:

	* gdk/gdkrgb.c: trivial changes to some debug code so it compiles
	with VERBOSE being defined.
This commit is contained in:
Sven Neumann 2002-08-01 18:22:28 +00:00 committed by Sven Neumann
parent e5ae081ebe
commit 615deb3e4a
7 changed files with 44 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2002-08-01 Sven Neumann <sven@gimp.org>
Merge from stable:
* gdk/gdkrgb.c: trivial changes to some debug code so it compiles
with VERBOSE being defined.
Thu Aug 1 11:26:03 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch] gdkinternals.h:

View File

@ -1,3 +1,10 @@
2002-08-01 Sven Neumann <sven@gimp.org>
Merge from stable:
* gdk/gdkrgb.c: trivial changes to some debug code so it compiles
with VERBOSE being defined.
Thu Aug 1 11:26:03 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch] gdkinternals.h:

View File

@ -1,3 +1,10 @@
2002-08-01 Sven Neumann <sven@gimp.org>
Merge from stable:
* gdk/gdkrgb.c: trivial changes to some debug code so it compiles
with VERBOSE being defined.
Thu Aug 1 11:26:03 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch] gdkinternals.h:

View File

@ -1,3 +1,10 @@
2002-08-01 Sven Neumann <sven@gimp.org>
Merge from stable:
* gdk/gdkrgb.c: trivial changes to some debug code so it compiles
with VERBOSE being defined.
Thu Aug 1 11:26:03 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch] gdkinternals.h:

View File

@ -1,3 +1,10 @@
2002-08-01 Sven Neumann <sven@gimp.org>
Merge from stable:
* gdk/gdkrgb.c: trivial changes to some debug code so it compiles
with VERBOSE being defined.
Thu Aug 1 11:26:03 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch] gdkinternals.h:

View File

@ -1,3 +1,10 @@
2002-08-01 Sven Neumann <sven@gimp.org>
Merge from stable:
* gdk/gdkrgb.c: trivial changes to some debug code so it compiles
with VERBOSE being defined.
Thu Aug 1 11:26:03 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch] gdkinternals.h:

View File

@ -181,7 +181,7 @@ gdk_rgb_make_colorcube (GdkRgbInfo *image_info, gulong *pixels,
{
image_info->colorcube[i] = pixels[rt[i >> 8] + gt[(i >> 4) & 0x0f] + bt[i & 0x0f]];
#ifdef VERBOSE
g_print ("%03x %02x %x %x %x\n", i, image-info->colorcube[i], rt[i >> 8], gt[(i >> 4) & 0x0f], bt[i & 0x0f]);
g_print ("%03x %02x %x %x %x\n", i, image_info->colorcube[i], rt[i >> 8], gt[(i >> 4) & 0x0f], bt[i & 0x0f]);
#endif
}
}
@ -3373,7 +3373,7 @@ gdk_rgb_cmap_get_info (GdkRgbCmap *cmap,
((rgb & 0xf000) >> 8) |
((rgb & 0xf0) >> 4);
#ifdef VERBOSE
g_print ("%d %x %x %d\n", i, j, image_info->colorcube[j]);
g_print ("%d %x %x\n", i, j, image_info->colorcube[j]);
#endif
cmap_info->lut[i] = image_info->colorcube[j];
}