mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 21:21:21 +00:00
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:
parent
32b708985d
commit
5a2659c215
@ -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>
|
Wed Sep 19 16:12:16 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gdk/gdkpixbuf-render.c: Allow -1 for width/height
|
* gdk/gdkpixbuf-render.c: Allow -1 for width/height
|
||||||
|
@ -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>
|
Wed Sep 19 16:12:16 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gdk/gdkpixbuf-render.c: Allow -1 for width/height
|
* gdk/gdkpixbuf-render.c: Allow -1 for width/height
|
||||||
|
@ -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>
|
Wed Sep 19 16:12:16 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gdk/gdkpixbuf-render.c: Allow -1 for width/height
|
* gdk/gdkpixbuf-render.c: Allow -1 for width/height
|
||||||
|
@ -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>
|
Wed Sep 19 16:12:16 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gdk/gdkpixbuf-render.c: Allow -1 for width/height
|
* gdk/gdkpixbuf-render.c: Allow -1 for width/height
|
||||||
|
@ -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>
|
Wed Sep 19 16:12:16 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gdk/gdkpixbuf-render.c: Allow -1 for width/height
|
* gdk/gdkpixbuf-render.c: Allow -1 for width/height
|
||||||
|
@ -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>
|
Wed Sep 19 16:12:16 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gdk/gdkpixbuf-render.c: Allow -1 for width/height
|
* gdk/gdkpixbuf-render.c: Allow -1 for width/height
|
||||||
|
@ -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>
|
Wed Sep 19 16:12:16 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gdk/gdkpixbuf-render.c: Allow -1 for width/height
|
* 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++)
|
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->red == colormap->colors[i].red) &&
|
||||||
(ret->green == colormap->colors[i].green) &&
|
(ret->green == colormap->colors[i].green) &&
|
||||||
(ret->blue == colormap->colors[i].blue))
|
(ret->blue == colormap->colors[i].blue))
|
||||||
@ -605,7 +605,7 @@ gdk_colormap_alloc_colors_shared (GdkColormap *colormap,
|
|||||||
|
|
||||||
for (i = 0; i < colormap->size; i++)
|
for (i = 0; i < colormap->size; i++)
|
||||||
available[i] = ((private->info[i].ref_count == 0) ||
|
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)
|
while (nremaining > 0)
|
||||||
{
|
{
|
||||||
|
@ -1976,7 +1976,7 @@ gdk_colormap_alloc_colors_shared (GdkColormap *colormap,
|
|||||||
gchar *available = g_new (gchar, colormap->size);
|
gchar *available = g_new (gchar, colormap->size);
|
||||||
for (i = 0; i < colormap->size; i++)
|
for (i = 0; i < colormap->size; i++)
|
||||||
available[i] = ((private->info[i].ref_count == 0) ||
|
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);
|
gdk_colormap_sync (colormap, FALSE);
|
||||||
|
|
||||||
while (nremaining > 0)
|
while (nremaining > 0)
|
||||||
|
@ -815,7 +815,7 @@ gdk_colormap_alloc_colors_shared (GdkColormap *colormap,
|
|||||||
gchar *available = g_new (gchar, colormap->size);
|
gchar *available = g_new (gchar, colormap->size);
|
||||||
for (i = 0; i < colormap->size; i++)
|
for (i = 0; i < colormap->size; i++)
|
||||||
available[i] = ((private->info[i].ref_count == 0) ||
|
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);
|
gdk_colormap_sync (colormap, FALSE);
|
||||||
|
|
||||||
while (nremaining > 0)
|
while (nremaining > 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user