app/Makefile.am app/gradientP.h removed.

2001-02-10  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am
	* app/gradientP.h
	* app/gradient_header.h: removed.

	* app/gimpgradient.[ch]: new object -- bye bye "gradient_t"

	* app/gradients.[ch]: new files for managing the gradient list.

	* app/gradient.[ch]: containes only the gradient editor now (which
	still badly poked aroung in the GimpGradient structure).

	* app/app_procs.c
	* app/apptypes.h
	* app/devices.c
	* app/gimpcontainerlistview.c
	* app/gimpcontext.[ch]
	* app/gimpcontextpreview.[ch]
	* app/gimpdnd.[ch]
	* app/gradient_select.[ch]
	* app/indicator_area.c
	* app/palette_import.c
	* app/pdb/gradient_select_cmds.c
	* app/pdb/gradients_cmds.c
	* app/tools/airbrush.c
	* app/tools/blend.c
	* app/tools/paint_core.c
	* app/tools/paintbrush.c
	* app/tools/pencil.c
	* tools/pdbgen/pdb/gradient_select.pdb
	* tools/pdbgen/pdb/gradients.pdb: changed accordingly, some
	changes to the preview and view stuff.

	* app/gimppreview.[ch]: removed the "context" attribute again
	because it was overkill (a simple gtk_signal-connect_object does
	the same as doing the autoconnection magic inside the GimpPreview
	object).

	* app/commands.[ch]
	* app/menus.c: example views on the gradient container.
This commit is contained in:
Michael Natterer
2001-02-10 19:35:29 +00:00
committed by Michael Natterer
parent 123ee5651e
commit 07300cf385
83 changed files with 3852 additions and 5029 deletions

View File

@ -31,7 +31,6 @@
#include "gimpbrush.h"
#include "gimpbrushpreview.h"
#include "gimpcontext.h"
#include "gimpdrawable.h"
#include "gimpdrawablepreview.h"
#include "gimpimage.h"
@ -190,9 +189,6 @@ static void
gimp_preview_init (GimpPreview *preview)
{
preview->viewable = NULL;
preview->context = NULL;
preview->is_popup = FALSE;
preview->width = 8;
preview->height = 8;
@ -202,6 +198,7 @@ gimp_preview_init (GimpPreview *preview)
preview->border_color[1] = 0;
preview->border_color[2] = 0;
preview->is_popup = FALSE;
preview->clickable = FALSE;
preview->show_popup = FALSE;
@ -380,15 +377,6 @@ gimp_preview_set_viewable (GimpPreview *preview,
}
}
void
gimp_preview_set_context (GimpPreview *preview,
GimpContext *context)
{
g_return_if_fail (preview != NULL);
g_return_if_fail (GIMP_IS_PREVIEW (preview));
g_return_if_fail (! context || GIMP_IS_CONTEXT (context));
}
static gint
gimp_preview_button_press_event (GtkWidget *widget,
GdkEventButton *bevent)