Fix propagated (flags && GDK_COLOR_WRITEABLE) typo. (#59723)

Wed Sep 19 16:16:38 2001  Owen Taylor  <otaylor@redhat.com>

	* gdk/win32/gdkcolor-win32.c gdk/x11/gdkcolor-x11.c
          gdk/linux-fb/gdkcolor-fb.c:
        Fix propagated (flags && GDK_COLOR_WRITEABLE) typo.
	(#59723)
This commit is contained in:
Owen Taylor 2001-09-19 20:17:44 +00:00 committed by Owen Taylor
parent 32b708985d
commit 5a2659c215
10 changed files with 53 additions and 4 deletions

View File

@ -1,3 +1,10 @@
Wed Sep 19 16:16:38 2001 Owen Taylor <otaylor@redhat.com>
* gdk/win32/gdkcolor-win32.c gdk/x11/gdkcolor-x11.c
gdk/linux-fb/gdkcolor-fb.c:
Fix propagated (flags && GDK_COLOR_WRITEABLE) typo.
(#59723)
Wed Sep 19 16:12:16 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdkpixbuf-render.c: Allow -1 for width/height

View File

@ -1,3 +1,10 @@
Wed Sep 19 16:16:38 2001 Owen Taylor <otaylor@redhat.com>
* gdk/win32/gdkcolor-win32.c gdk/x11/gdkcolor-x11.c
gdk/linux-fb/gdkcolor-fb.c:
Fix propagated (flags && GDK_COLOR_WRITEABLE) typo.
(#59723)
Wed Sep 19 16:12:16 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdkpixbuf-render.c: Allow -1 for width/height

View File

@ -1,3 +1,10 @@
Wed Sep 19 16:16:38 2001 Owen Taylor <otaylor@redhat.com>
* gdk/win32/gdkcolor-win32.c gdk/x11/gdkcolor-x11.c
gdk/linux-fb/gdkcolor-fb.c:
Fix propagated (flags && GDK_COLOR_WRITEABLE) typo.
(#59723)
Wed Sep 19 16:12:16 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdkpixbuf-render.c: Allow -1 for width/height

View File

@ -1,3 +1,10 @@
Wed Sep 19 16:16:38 2001 Owen Taylor <otaylor@redhat.com>
* gdk/win32/gdkcolor-win32.c gdk/x11/gdkcolor-x11.c
gdk/linux-fb/gdkcolor-fb.c:
Fix propagated (flags && GDK_COLOR_WRITEABLE) typo.
(#59723)
Wed Sep 19 16:12:16 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdkpixbuf-render.c: Allow -1 for width/height

View File

@ -1,3 +1,10 @@
Wed Sep 19 16:16:38 2001 Owen Taylor <otaylor@redhat.com>
* gdk/win32/gdkcolor-win32.c gdk/x11/gdkcolor-x11.c
gdk/linux-fb/gdkcolor-fb.c:
Fix propagated (flags && GDK_COLOR_WRITEABLE) typo.
(#59723)
Wed Sep 19 16:12:16 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdkpixbuf-render.c: Allow -1 for width/height

View File

@ -1,3 +1,10 @@
Wed Sep 19 16:16:38 2001 Owen Taylor <otaylor@redhat.com>
* gdk/win32/gdkcolor-win32.c gdk/x11/gdkcolor-x11.c
gdk/linux-fb/gdkcolor-fb.c:
Fix propagated (flags && GDK_COLOR_WRITEABLE) typo.
(#59723)
Wed Sep 19 16:12:16 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdkpixbuf-render.c: Allow -1 for width/height

View File

@ -1,3 +1,10 @@
Wed Sep 19 16:16:38 2001 Owen Taylor <otaylor@redhat.com>
* gdk/win32/gdkcolor-win32.c gdk/x11/gdkcolor-x11.c
gdk/linux-fb/gdkcolor-fb.c:
Fix propagated (flags && GDK_COLOR_WRITEABLE) typo.
(#59723)
Wed Sep 19 16:12:16 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdkpixbuf-render.c: Allow -1 for width/height

View File

@ -527,7 +527,7 @@ gdk_colormap_alloc1 (GdkColormap *colormap,
for (i = 0; i<colormap->size; i++)
{
if (!(private->info[i].flags && GDK_COLOR_WRITEABLE) &&
if (!(private->info[i].flags & GDK_COLOR_WRITEABLE) &&
(ret->red == colormap->colors[i].red) &&
(ret->green == colormap->colors[i].green) &&
(ret->blue == colormap->colors[i].blue))
@ -605,7 +605,7 @@ gdk_colormap_alloc_colors_shared (GdkColormap *colormap,
for (i = 0; i < colormap->size; i++)
available[i] = ((private->info[i].ref_count == 0) ||
!(private->info[i].flags && GDK_COLOR_WRITEABLE));
!(private->info[i].flags & GDK_COLOR_WRITEABLE));
while (nremaining > 0)
{

View File

@ -1976,7 +1976,7 @@ gdk_colormap_alloc_colors_shared (GdkColormap *colormap,
gchar *available = g_new (gchar, colormap->size);
for (i = 0; i < colormap->size; i++)
available[i] = ((private->info[i].ref_count == 0) ||
!(private->info[i].flags && GDK_COLOR_WRITEABLE));
!(private->info[i].flags & GDK_COLOR_WRITEABLE));
gdk_colormap_sync (colormap, FALSE);
while (nremaining > 0)

View File

@ -815,7 +815,7 @@ gdk_colormap_alloc_colors_shared (GdkColormap *colormap,
gchar *available = g_new (gchar, colormap->size);
for (i = 0; i < colormap->size; i++)
available[i] = ((private->info[i].ref_count == 0) ||
!(private->info[i].flags && GDK_COLOR_WRITEABLE));
!(private->info[i].flags & GDK_COLOR_WRITEABLE));
gdk_colormap_sync (colormap, FALSE);
while (nremaining > 0)