mirror of https://github.com/GNOME/gimp.git
gimp/app/colormap_dialog.i.c As Mr. Lamb, report originator noted, an easy
2000-04-02 Garry R. Osgood <gosgood@idt.net> * gimp/app/colormap_dialog.i.c As Mr. Lamb, report originator noted, an easy fix. in ipal_set_image() line 688 Reorganized the initialization of the indexed palette object so as not to run afoul of gasserts() inhabiting ipal_draw() and client routines. These entailed initialing ipal->col_index, ipal->dnd_col_index prior to call to ipal_draw()
This commit is contained in:
parent
c4a851230f
commit
9591f4a965
16
ChangeLog
16
ChangeLog
|
@ -1,3 +1,18 @@
|
|||
2000-04-02 Garry R. Osgood <gosgood@idt.net>
|
||||
|
||||
* gimp/app/colormap_dialog.i.c
|
||||
As Mr. Lamb, report originator noted, an easy
|
||||
fix. in ipal_set_image() line 688
|
||||
Reorganized the initialization of the
|
||||
indexed palette object so as not to run afoul
|
||||
of gasserts() inhabiting ipal_draw() and client
|
||||
routines. These entailed initialing ipal->col_index,
|
||||
ipal->dnd_col_index prior to call to ipal_draw()
|
||||
closes #8252
|
||||
|
||||
BTW, my guess is that the "Mystery Commit" at 16:55:47 BST
|
||||
today is by Mr. Andrew Thomas. Do I win the prize?
|
||||
|
||||
2000-04-02 Tuomas Kuosmanen <tigert@gimp.org>
|
||||
|
||||
* plug-ins/common/png.c:
|
||||
|
@ -7,6 +22,7 @@
|
|||
I reverted the png change since, while it worked fine for RGBA and
|
||||
INDEXEDA it totally shred RGB and INDEXED images to pieces.. :(
|
||||
|
||||
>>>>>>> 1.2502
|
||||
Sun Apr 2 16:55:47 BST 2000
|
||||
|
||||
* app/bezier_select.c
|
||||
|
|
|
@ -704,6 +704,8 @@ ipal_set_image (GimpColormapDialog *ipal,
|
|||
}
|
||||
}
|
||||
|
||||
ipal->col_index = 0;
|
||||
ipal->dnd_col_index = 0;
|
||||
if (gimage)
|
||||
{
|
||||
if (!ipal->image)
|
||||
|
@ -725,8 +727,6 @@ ipal_set_image (GimpColormapDialog *ipal,
|
|||
gtk_adjustment_changed (ipal->index_adjustment);
|
||||
}
|
||||
|
||||
ipal->col_index = 0;
|
||||
ipal->dnd_col_index = 0;
|
||||
gtk_widget_set_sensitive (ipal->add_item,
|
||||
(gimage && gimage->num_cols < 256));
|
||||
ipal_update_entries (ipal);
|
||||
|
|
Loading…
Reference in New Issue