mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 05:01:09 +00:00
fix bug (skipping all black pixels).
Tue Feb 19 20:56:32 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/theme-bits/decompose-bits.c (do_part): fix bug (skipping all black pixels).
This commit is contained in:
parent
6dea3cae13
commit
fde8cad894
@ -1,3 +1,8 @@
|
||||
Tue Feb 19 20:56:32 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/theme-bits/decompose-bits.c (do_part): fix bug (skipping all
|
||||
black pixels).
|
||||
|
||||
2002-02-19 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* examples/*/*.c: finish conversion to g_signal_* functions by
|
||||
@ -174,6 +179,7 @@ Sun Feb 17 21:30:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||
* docs/tutorial/gtk-tut.sgml, examples/paned/paned.c,
|
||||
examples/paned/Makefile: Make the paned example deprecation-clean.
|
||||
|
||||
>>>>>>> 1.3035
|
||||
2002-02-17 jacob berkman <jacob@ximian.com>
|
||||
|
||||
* Makefile.am: remove the packer example files as they don't exist
|
||||
|
@ -1,3 +1,8 @@
|
||||
Tue Feb 19 20:56:32 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/theme-bits/decompose-bits.c (do_part): fix bug (skipping all
|
||||
black pixels).
|
||||
|
||||
2002-02-19 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* examples/*/*.c: finish conversion to g_signal_* functions by
|
||||
@ -174,6 +179,7 @@ Sun Feb 17 21:30:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||
* docs/tutorial/gtk-tut.sgml, examples/paned/paned.c,
|
||||
examples/paned/Makefile: Make the paned example deprecation-clean.
|
||||
|
||||
>>>>>>> 1.3035
|
||||
2002-02-17 jacob berkman <jacob@ximian.com>
|
||||
|
||||
* Makefile.am: remove the packer example files as they don't exist
|
||||
|
@ -1,3 +1,8 @@
|
||||
Tue Feb 19 20:56:32 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/theme-bits/decompose-bits.c (do_part): fix bug (skipping all
|
||||
black pixels).
|
||||
|
||||
2002-02-19 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* examples/*/*.c: finish conversion to g_signal_* functions by
|
||||
@ -174,6 +179,7 @@ Sun Feb 17 21:30:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||
* docs/tutorial/gtk-tut.sgml, examples/paned/paned.c,
|
||||
examples/paned/Makefile: Make the paned example deprecation-clean.
|
||||
|
||||
>>>>>>> 1.3035
|
||||
2002-02-17 jacob berkman <jacob@ximian.com>
|
||||
|
||||
* Makefile.am: remove the packer example files as they don't exist
|
||||
|
@ -1,3 +1,8 @@
|
||||
Tue Feb 19 20:56:32 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/theme-bits/decompose-bits.c (do_part): fix bug (skipping all
|
||||
black pixels).
|
||||
|
||||
2002-02-19 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* examples/*/*.c: finish conversion to g_signal_* functions by
|
||||
@ -174,6 +179,7 @@ Sun Feb 17 21:30:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||
* docs/tutorial/gtk-tut.sgml, examples/paned/paned.c,
|
||||
examples/paned/Makefile: Make the paned example deprecation-clean.
|
||||
|
||||
>>>>>>> 1.3035
|
||||
2002-02-17 jacob berkman <jacob@ximian.com>
|
||||
|
||||
* Makefile.am: remove the packer example files as they don't exist
|
||||
|
@ -1,3 +1,8 @@
|
||||
Tue Feb 19 20:56:32 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/theme-bits/decompose-bits.c (do_part): fix bug (skipping all
|
||||
black pixels).
|
||||
|
||||
2002-02-19 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* examples/*/*.c: finish conversion to g_signal_* functions by
|
||||
@ -174,6 +179,7 @@ Sun Feb 17 21:30:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||
* docs/tutorial/gtk-tut.sgml, examples/paned/paned.c,
|
||||
examples/paned/Makefile: Make the paned example deprecation-clean.
|
||||
|
||||
>>>>>>> 1.3035
|
||||
2002-02-17 jacob berkman <jacob@ximian.com>
|
||||
|
||||
* Makefile.am: remove the packer example files as they don't exist
|
||||
|
@ -1,3 +1,8 @@
|
||||
Tue Feb 19 20:56:32 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/theme-bits/decompose-bits.c (do_part): fix bug (skipping all
|
||||
black pixels).
|
||||
|
||||
2002-02-19 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* examples/*/*.c: finish conversion to g_signal_* functions by
|
||||
@ -174,6 +179,7 @@ Sun Feb 17 21:30:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||
* docs/tutorial/gtk-tut.sgml, examples/paned/paned.c,
|
||||
examples/paned/Makefile: Make the paned example deprecation-clean.
|
||||
|
||||
>>>>>>> 1.3035
|
||||
2002-02-17 jacob berkman <jacob@ximian.com>
|
||||
|
||||
* Makefile.am: remove the packer example files as they don't exist
|
||||
|
@ -1,3 +1,8 @@
|
||||
Tue Feb 19 20:56:32 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/theme-bits/decompose-bits.c (do_part): fix bug (skipping all
|
||||
black pixels).
|
||||
|
||||
2002-02-19 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* examples/*/*.c: finish conversion to g_signal_* functions by
|
||||
@ -174,6 +179,7 @@ Sun Feb 17 21:30:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||
* docs/tutorial/gtk-tut.sgml, examples/paned/paned.c,
|
||||
examples/paned/Makefile: Make the paned example deprecation-clean.
|
||||
|
||||
>>>>>>> 1.3035
|
||||
2002-02-17 jacob berkman <jacob@ximian.com>
|
||||
|
||||
* Makefile.am: remove the packer example files as they don't exist
|
||||
|
@ -58,9 +58,9 @@ do_part (GdkPixbuf *pixbuf,
|
||||
|
||||
while (n--)
|
||||
{
|
||||
if ((part1_index > 0 && memcmp (p, color1, n_channels) == 0) ||
|
||||
(part2_index > 0 && memcmp (p, color2, n_channels) == 0) ||
|
||||
(part3_index > 0 && memcmp (p, color3, n_channels) == 0))
|
||||
if ((part1_index >= 0 && memcmp (p, color1, n_channels) == 0) ||
|
||||
(part2_index >= 0 && memcmp (p, color2, n_channels) == 0) ||
|
||||
(part3_index >= 0 && memcmp (p, color3, n_channels) == 0))
|
||||
byte |= bit;
|
||||
|
||||
if (bit == 0x80)
|
||||
|
Loading…
Reference in New Issue
Block a user