app/dialogs/Makefile.am removed...

2004-09-23  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/Makefile.am
	* app/dialogs/color-dialog.[ch]: removed...

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpcolordialog.[ch]: ...and added as widget.

	* app/core/gimpmarshal.list: new marshaller VOID__BOXED_ENUM.

	* app/widgets/widgets-enums.[ch]: new enum GimpColorDialogState.

	* app/widgets/gimpcolormapeditor.[ch]
	* app/widgets/gimpcolorpanel.[ch]
	* app/widgets/gimpgradienteditor.[ch]
	* app/widgets/gimppaletteeditor.[ch]
	* app/widgets/gimptoolbox-color-area.c
	* app/actions/gradient-editor-commands.c
	* app/actions/view-commands.c: ported to GimpColorDialog. Removes
	a whole bunch of ugly widgets/ -> dialogs/ dependencies.
This commit is contained in:
Michael Natterer
2004-09-23 20:41:40 +00:00
committed by Michael Natterer
parent 58b08f867a
commit ee5354e4b7
22 changed files with 678 additions and 1133 deletions

View File

@ -34,9 +34,6 @@
*/
/* TODO:
*
* - Fix memory leaks: grad_free_gradient_editor() and any others
* which I may have missed.
*
* - Add all of Marcelo's neat suggestions:
* - Hue rotate, saturation, brightness, contrast.
@ -73,8 +70,6 @@
#include "gimpviewrenderergradient.h"
#include "gimpwidgets-utils.h"
#include "dialogs/color-dialog.h"
#include "gimp-intl.h"
@ -463,7 +458,7 @@ gimp_gradient_editor_set_data (GimpDataEditor *editor,
if (gradient_editor->color_dialog)
{
color_dialog_free (gradient_editor->color_dialog);
gtk_widget_destroy (gradient_editor->color_dialog);
gradient_editor->color_dialog = NULL;
gtk_widget_set_sensitive (GTK_WIDGET (editor), TRUE);
}