remove enum GimpItemLinkedMask...

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

	* app/core/gimpitem-linked.h: remove enum GimpItemLinkedMask...

	* app/core/core-enums.[ch]: ...and add it here as GimpItemTypeMask.
	Renamed enum GimpImageResizeLayers to GimpItemSet.

	* app/core/gimpitem-linked.[ch]
	* app/core/gimpimage-resize.[ch]
	* app/dialogs/resize-dialog.[ch]
	* app/actions/image-commands.c
	* app/actions/layers-commands.c
	* app/tools/gimpeditselectiontool.c: changed accordingly.
This commit is contained in:
Michael Natterer 2006-05-19 14:50:46 +00:00 committed by Michael Natterer
parent 36ea51a2bb
commit 42ff7f4920
12 changed files with 163 additions and 146 deletions

View file

@ -81,7 +81,7 @@ static void image_resize_callback (GtkWidget *dialog,
GimpUnit unit,
gint offset_x,
gint offset_y,
GimpImageResizeLayers resize_layers,
GimpItemSet layer_set,
gpointer data);
static void image_print_size_callback (GtkWidget *dialog,
GimpImage *image,
@ -457,15 +457,15 @@ image_properties_cmd_callback (GtkAction *action,
/* private functions */
static void
image_resize_callback (GtkWidget *dialog,
GimpViewable *viewable,
gint width,
gint height,
GimpUnit unit,
gint offset_x,
gint offset_y,
GimpImageResizeLayers resize_layers,
gpointer data)
image_resize_callback (GtkWidget *dialog,
GimpViewable *viewable,
gint width,
gint height,
GimpUnit unit,
gint offset_x,
gint offset_y,
GimpItemSet layer_set,
gpointer data)
{
ImageResizeOptions *options = data;
@ -491,7 +491,7 @@ image_resize_callback (GtkWidget *dialog,
gimp_image_resize_with_layers (image,
context,
width, height, offset_x, offset_y,
resize_layers,
layer_set,
progress);
if (progress)