save 20 bytes per instance by using single bits instead of 6 gbooleans.

2006-05-12  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpview.h: save 20 bytes per instance by using
	single bits instead of 6 gbooleans.

	* app/widgets/gimpview.c: some code cleanup.

	* app/widgets/gimpviewrendererbrush.c: don't #include "gimpbrush.h".

	* app/widgets/gimpviewrendererbuffer.c: #include "gimpviewable.h"
	instead of "gimpbuffer.h".

	* app/widgets/gimpviewrenderergradient.c
	* app/widgets/gimpviewrendererimagefile.c
	* app/widgets/gimpviewrendererimagefile.h: micro cosmetics.
This commit is contained in:
Michael Natterer
2006-05-12 15:52:00 +00:00
committed by Michael Natterer
parent 401b865e22
commit 5e24dcf258
2 changed files with 4 additions and 1 deletions

View File

@ -29,6 +29,8 @@
#include "base/temp-buf.h"
#include "core/gimpviewable.h"
#include "gimpviewrendererbuffer.h"