call gimp_image_colormap_changed() after installing the colormap.

2004-02-12  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-convert.c (gimp_image_convert): call
	gimp_image_colormap_changed() after installing the colormap.

	* app/tools/gimphistogramoptions.h: fixed typedef of
	GimpHistogramOptionsClass.
This commit is contained in:
Michael Natterer 2004-02-12 14:09:35 +00:00 committed by Michael Natterer
parent cfd6fb0a8e
commit 8091f46f71
3 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2004-02-12 Michael Natterer <mitch@gimp.org>
* app/core/gimpimage-convert.c (gimp_image_convert): call
gimp_image_colormap_changed() after installing the colormap.
* app/tools/gimphistogramoptions.h: fixed typedef of
GimpHistogramOptionsClass.
2004-02-12 Michael Natterer <mitch@gimp.org>
* app/widgets/gimphistogramview.c (gimp_histogram_view_button_press):

View File

@ -1024,6 +1024,8 @@ gimp_image_convert (GimpImage *gimage,
gimage->num_cols = quantobj->actual_number_of_colors;
}
gimp_image_colormap_changed (gimage, -1);
break;
}

View File

@ -31,8 +31,8 @@
#define GIMP_HISTOGRAM_OPTIONS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GIMP_TYPE_HISTOGRAM_OPTIONS, GimpHistogramOptionsClass))
typedef struct _GimpHistogramOptions GimpHistogramOptions;
typedef struct _GimpToolOptionsClass GimpHistogramOptionsClass;
typedef struct _GimpHistogramOptions GimpHistogramOptions;
typedef GimpColorOptionsClass GimpHistogramOptionsClass;
struct _GimpHistogramOptions
{