pass the color index value to gimp_color_frame_set_color() so it would

2005-07-08  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcursorview.c (gimp_cursor_view_update_cursor):
	pass the color index value to gimp_color_frame_set_color() so it
	would show up in the frame if we actually picked from indexed
	things.
This commit is contained in:
Michael Natterer 2005-07-08 18:53:09 +00:00 committed by Michael Natterer
parent ddfcad7703
commit 7a883afa3a
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2005-07-08 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpcursorview.c (gimp_cursor_view_update_cursor):
pass the color index value to gimp_color_frame_set_color() so it
would show up in the frame if we actually picked from indexed
things.
2005-07-08 Michael Natterer <mitch@gimp.org>
* app/tools/gimpclonetool.c: initialize the parent_class pointer

View File

@ -375,9 +375,9 @@ gimp_cursor_view_update_cursor (GimpCursorView *view,
color[ALPHA_PIX]);
gimp_color_frame_set_color (GIMP_COLOR_FRAME (view->color_frame_1),
sample_type, &rgb, -1);
sample_type, &rgb, color[4]);
gimp_color_frame_set_color (GIMP_COLOR_FRAME (view->color_frame_2),
sample_type, &rgb, -1);
sample_type, &rgb, color[4]);
g_free (color);
}