Commit db4ec041 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

no need to set colors on the GCs that use GDK_INVERT.

2003-11-15  Sven Neumann  <sven@gimp.org>

	* app/display/gimpcanvas.c (gimp_canvas_gc_new): no need to set
	colors on the GCs that use GDK_INVERT.

	* app/display/gimpdisplayshell-render.c (gimp_display_shell_render):
	micro cleanup.
parent 46826bab
2003-11-15 Sven Neumann <sven@gimp.org>
* app/display/gimpcanvas.c (gimp_canvas_gc_new): no need to set
colors on the GCs that use GDK_INVERT.
* app/display/gimpdisplayshell-render.c (gimp_display_shell_render):
micro cleanup.
2003-11-15 Sven Neumann <sven@gimp.org>
* plug-ins/ifscompose/ifscompose.c: include <errno.h>.
2003-11-15 Sven Neumann <sven@gimp.org>
 
* libgimpwidgets/gimpunitmenu.c: include the documentation of the
......@@ -272,9 +272,9 @@ gimp_canvas_gc_new (GimpCanvas *canvas,
switch (style)
{
default:
return gc;
case GIMP_CANVAS_STYLE_WHITE:
case GIMP_CANVAS_STYLE_XOR:
case GIMP_CANVAS_STYLE_XOR_DASHED:
fg.red = 0xffff;
fg.green = 0xffff;
fg.blue = 0xffff;
......
......@@ -327,8 +327,7 @@ gimp_display_shell_render (GimpDisplayShell *shell,
if ((image_type < GIMP_RGB_IMAGE) || (image_type > GIMP_INDEXEDA_IMAGE))
{
g_message ("unknown gimage projection type: %d",
gimp_image_projection_type (shell->gdisp->gimage));
g_message ("unknown gimage projection type: %d", image_type);
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment