app/color_area.[ch] pass masks for the "default" and "swap" pixmaps to the

2000-02-22  Michael Natterer  <mitch@gimp.org>

	* app/color_area.[ch]
	* app/interface.c: pass masks for the "default" and "swap" pixmaps
	to the color_area constructor and use them to create a clip mask
	in color_area_draw().

	* app/datafiles.[ch]: some harmless cleanups.

	* libgimp/gimppixmap.c: use gtk_pixmap_set_build_insensitive()
	instead of accessing the field directly.
This commit is contained in:
Michael Natterer
2000-02-22 15:14:54 +00:00
committed by Michael Natterer
parent dcf85066c9
commit a4f6d59af0
18 changed files with 362 additions and 191 deletions

View File

@ -111,7 +111,7 @@ gimp_pixmap_new (gchar **xpm_data)
pixmap = gtk_type_new (gimp_pixmap_get_type ());
GTK_PIXMAP (pixmap)->build_insensitive = TRUE;
gtk_pixmap_set_build_insensitive (GTK_PIXMAP (pixmap), TRUE);
gimp_pixmap_set (pixmap, xpm_data);
return GTK_WIDGET (pixmap);