Commit 5a2659c2 authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

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)
parent 32b70898
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
......
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
......
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
......
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
......
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
......
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
......
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
......
......@@ -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)
{
......
......@@ -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)
......
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment