app/display/gimpdisplayshell.[ch] removed padding_gc from the

2003-05-20  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell.[ch]
	* app/display/gimpdisplayshell-callbacks.c: removed padding_gc from
	the GimpDisplayShell struct. Don't draw the padding color manually.

	* app/display/gimpdisplayshell-appearance.c
	(gimp_display_shell_set_padding): set the canvas background color
	using gdk_window_set_background().
This commit is contained in:
Sven Neumann
2003-05-20 17:52:48 +00:00
committed by Sven Neumann
parent c90a88fd9d
commit dc0aff0c0e
7 changed files with 37 additions and 147 deletions

View File

@ -148,7 +148,6 @@ struct _GimpDisplayShell
GimpDisplayPaddingMode padding_mode;
gboolean padding_mode_set;
GimpRGB padding_color; /* color of the empty around the image */
GdkGC *padding_gc; /* GC with padding_color as BG */
GtkWidget *nav_ebox; /* GtkEventBox on the SE corner */