Commit f2df31a5 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

converted tabs to spaces.

2006-04-12  Sven Neumann  <sven@gimp.org>

	* libgimp*/gimp*.[ch]: converted tabs to spaces.
parent 8ed41a7c
2006-04-12 Sven Neumann <sven@gimp.org>
* libgimp*/gimp*.[ch]: converted tabs to spaces.
2006-04-12 Sven Neumann <sven@gimp.org> 2006-04-12 Sven Neumann <sven@gimp.org>
* tools/pdbgen/lib.pl: create code with spaces instead of tabs. * tools/pdbgen/lib.pl: create code with spaces instead of tabs.
......
...@@ -42,13 +42,13 @@ enum ...@@ -42,13 +42,13 @@ enum
static void gimp_aspect_preview_get_property (GObject *object, static void gimp_aspect_preview_get_property (GObject *object,
guint property_id, guint property_id,
GValue *value, GValue *value,
GParamSpec *pspec); GParamSpec *pspec);
static void gimp_aspect_preview_set_property (GObject *object, static void gimp_aspect_preview_set_property (GObject *object,
guint property_id, guint property_id,
const GValue *value, const GValue *value,
GParamSpec *pspec); GParamSpec *pspec);
static void gimp_aspect_preview_style_set (GtkWidget *widget, static void gimp_aspect_preview_style_set (GtkWidget *widget,
GtkStyle *prev_style); GtkStyle *prev_style);
static void gimp_aspect_preview_draw (GimpPreview *preview); static void gimp_aspect_preview_draw (GimpPreview *preview);
...@@ -57,7 +57,7 @@ static void gimp_aspect_preview_draw_buffer (GimpPreview *preview, ...@@ -57,7 +57,7 @@ static void gimp_aspect_preview_draw_buffer (GimpPreview *preview,
gint rowstride); gint rowstride);
static void gimp_aspect_preview_set_drawable (GimpAspectPreview *preview, static void gimp_aspect_preview_set_drawable (GimpAspectPreview *preview,
GimpDrawable *drawable); GimpDrawable *drawable);
G_DEFINE_TYPE (GimpAspectPreview, gimp_aspect_preview, GIMP_TYPE_PREVIEW); G_DEFINE_TYPE (GimpAspectPreview, gimp_aspect_preview, GIMP_TYPE_PREVIEW);
...@@ -87,8 +87,8 @@ gimp_aspect_preview_class_init (GimpAspectPreviewClass *klass) ...@@ -87,8 +87,8 @@ gimp_aspect_preview_class_init (GimpAspectPreviewClass *klass)
*/ */
g_object_class_install_property (object_class, PROP_DRAWABLE, g_object_class_install_property (object_class, PROP_DRAWABLE,
g_param_spec_pointer ("drawable", NULL, NULL, g_param_spec_pointer ("drawable", NULL, NULL,
GIMP_PARAM_READWRITE | GIMP_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY)); G_PARAM_CONSTRUCT_ONLY));
} }
static void static void
...@@ -102,9 +102,9 @@ gimp_aspect_preview_init (GimpAspectPreview *preview) ...@@ -102,9 +102,9 @@ gimp_aspect_preview_init (GimpAspectPreview *preview)
static void static void
gimp_aspect_preview_get_property (GObject *object, gimp_aspect_preview_get_property (GObject *object,
guint property_id, guint property_id,
GValue *value, GValue *value,
GParamSpec *pspec) GParamSpec *pspec)
{ {
GimpAspectPreview *preview = GIMP_ASPECT_PREVIEW (object); GimpAspectPreview *preview = GIMP_ASPECT_PREVIEW (object);
...@@ -122,9 +122,9 @@ gimp_aspect_preview_get_property (GObject *object, ...@@ -122,9 +122,9 @@ gimp_aspect_preview_get_property (GObject *object,
static void static void
gimp_aspect_preview_set_property (GObject *object, gimp_aspect_preview_set_property (GObject *object,
guint property_id, guint property_id,
const GValue *value, const GValue *value,
GParamSpec *pspec) GParamSpec *pspec)
{ {
GimpAspectPreview *preview = GIMP_ASPECT_PREVIEW (object); GimpAspectPreview *preview = GIMP_ASPECT_PREVIEW (object);
...@@ -132,7 +132,7 @@ gimp_aspect_preview_set_property (GObject *object, ...@@ -132,7 +132,7 @@ gimp_aspect_preview_set_property (GObject *object,
{ {
case PROP_DRAWABLE: case PROP_DRAWABLE:
gimp_aspect_preview_set_drawable (preview, gimp_aspect_preview_set_drawable (preview,
g_value_get_pointer (value)); g_value_get_pointer (value));
break; break;
default: default:
...@@ -238,7 +238,7 @@ gimp_aspect_preview_draw_buffer (GimpPreview *preview, ...@@ -238,7 +238,7 @@ gimp_aspect_preview_draw_buffer (GimpPreview *preview,
static void static void
gimp_aspect_preview_set_drawable (GimpAspectPreview *preview, gimp_aspect_preview_set_drawable (GimpAspectPreview *preview,
GimpDrawable *drawable) GimpDrawable *drawable)
{ {
gint width, height; gint width, height;
gint max_width, max_height; gint max_width, max_height;
...@@ -259,12 +259,12 @@ gimp_aspect_preview_set_drawable (GimpAspectPreview *preview, ...@@ -259,12 +259,12 @@ gimp_aspect_preview_set_drawable (GimpAspectPreview *preview,
max_width = (width * max_height) / height; max_width = (width * max_height) / height;
} }
gimp_preview_set_bounds (GIMP_PREVIEW (preview), gimp_preview_set_bounds (GIMP_PREVIEW (preview),
0, 0, max_width, max_height); 0, 0, max_width, max_height);
if (height > 0) if (height > 0)
g_object_set (GIMP_PREVIEW (preview)->frame, g_object_set (GIMP_PREVIEW (preview)->frame,
"ratio", (gdouble) width / (gdouble) height, "ratio", (gdouble) width / (gdouble) height,
NULL); NULL);
} }
static void static void
...@@ -295,8 +295,8 @@ gimp_aspect_preview_new (GimpDrawable *drawable, ...@@ -295,8 +295,8 @@ gimp_aspect_preview_new (GimpDrawable *drawable,
g_return_val_if_fail (drawable != NULL, NULL); g_return_val_if_fail (drawable != NULL, NULL);
preview = g_object_new (GIMP_TYPE_ASPECT_PREVIEW, preview = g_object_new (GIMP_TYPE_ASPECT_PREVIEW,
"drawable", drawable, "drawable", drawable,
NULL); NULL);
if (toggle) if (toggle)
{ {
......
...@@ -376,10 +376,10 @@ gimp_brush_select_widget_clicked (GtkWidget *widget, ...@@ -376,10 +376,10 @@ gimp_brush_select_widget_clicked (GtkWidget *widget,
{ {
/* calling gimp_brushes_set_popup() raises the dialog */ /* calling gimp_brushes_set_popup() raises the dialog */
gimp_brushes_set_popup (brush_sel->temp_brush_callback, gimp_brushes_set_popup (brush_sel->temp_brush_callback,
brush_sel->brush_name, brush_sel->brush_name,
brush_sel->opacity, brush_sel->opacity,
brush_sel->spacing, brush_sel->spacing,
brush_sel->paint_mode); brush_sel->paint_mode);
} }
else else
{ {
...@@ -433,30 +433,30 @@ gimp_brush_select_preview_events (GtkWidget *widget, ...@@ -433,30 +433,30 @@ gimp_brush_select_preview_events (GtkWidget *widget,
if (brush_sel->mask_data) if (brush_sel->mask_data)
{ {
switch (event->type) switch (event->type)
{ {
case GDK_BUTTON_PRESS: case GDK_BUTTON_PRESS:
bevent = (GdkEventButton *) event; bevent = (GdkEventButton *) event;
if (bevent->button == 1) if (bevent->button == 1)
{ {
gtk_grab_add (widget); gtk_grab_add (widget);
gimp_brush_select_popup_open (brush_sel, bevent->x, bevent->y); gimp_brush_select_popup_open (brush_sel, bevent->x, bevent->y);
} }
break; break;
case GDK_BUTTON_RELEASE: case GDK_BUTTON_RELEASE:
bevent = (GdkEventButton *) event; bevent = (GdkEventButton *) event;
if (bevent->button == 1) if (bevent->button == 1)
{ {
gtk_grab_remove (widget); gtk_grab_remove (widget);
gimp_brush_select_popup_close (brush_sel); gimp_brush_select_popup_close (brush_sel);
} }
break; break;
default: default:
break; break;
} }
} }
return FALSE; return FALSE;
......
...@@ -86,17 +86,17 @@ gimp_brush_select_new (const gchar *title, ...@@ -86,17 +86,17 @@ gimp_brush_select_new (const gchar *title,
gchar *brush_callback = gimp_procedural_db_temp_name (); gchar *brush_callback = gimp_procedural_db_temp_name ();
gimp_install_temp_proc (brush_callback, gimp_install_temp_proc (brush_callback,
"Temporary brush popup callback procedure", "Temporary brush popup callback procedure",
"", "",
"Andy Thomas", "Andy Thomas",
"Andy Thomas", "Andy Thomas",
"1997", "1997",
NULL, NULL,
"RGB*, GRAY*", "RGB*, GRAY*",
GIMP_TEMPORARY, GIMP_TEMPORARY,
G_N_ELEMENTS (args), 0, G_N_ELEMENTS (args), 0,
args, NULL, args, NULL,
gimp_temp_brush_run); gimp_temp_brush_run);
if (gimp_brushes_popup (brush_callback, title, brush_name, if (gimp_brushes_popup (brush_callback, title, brush_name,
opacity, spacing, paint_mode)) opacity, spacing, paint_mode))
......
...@@ -47,16 +47,16 @@ ...@@ -47,16 +47,16 @@
*/ */
gint32 gint32
gimp_channel_new (gint32 image_ID, gimp_channel_new (gint32 image_ID,
const gchar *name, const gchar *name,
guint width, guint width,
guint height, guint height,
gdouble opacity, gdouble opacity,
const GimpRGB *color) const GimpRGB *color)
{ {
return _gimp_channel_new (image_ID, return _gimp_channel_new (image_ID,
width, width,
height, height,
name, name,
opacity, opacity,
color); color);
} }
...@@ -28,11 +28,11 @@ G_BEGIN_DECLS ...@@ -28,11 +28,11 @@ G_BEGIN_DECLS
gint32 gimp_channel_new (gint32 image_ID, gint32 gimp_channel_new (gint32 image_ID,
const gchar *name, const gchar *name,
guint width, guint width,
guint height, guint height,
gdouble opacity, gdouble opacity,
const GimpRGB *color); const GimpRGB *color);
G_END_DECLS G_END_DECLS
......
...@@ -145,9 +145,9 @@ gimp_drawable_flush (GimpDrawable *drawable) ...@@ -145,9 +145,9 @@ gimp_drawable_flush (GimpDrawable *drawable)
GimpTile * GimpTile *
gimp_drawable_get_tile (GimpDrawable *drawable, gimp_drawable_get_tile (GimpDrawable *drawable,
gboolean shadow, gboolean shadow,
gint row, gint row,
gint col) gint col)
{ {
GimpTile *tiles; GimpTile *tiles;
guint right_tile; guint right_tile;
...@@ -210,9 +210,9 @@ gimp_drawable_get_tile (GimpDrawable *drawable, ...@@ -210,9 +210,9 @@ gimp_drawable_get_tile (GimpDrawable *drawable,
GimpTile * GimpTile *
gimp_drawable_get_tile2 (GimpDrawable *drawable, gimp_drawable_get_tile2 (GimpDrawable *drawable,
gboolean shadow, gboolean shadow,
gint x, gint x,
gint y) gint y)
{ {
gint row; gint row;
gint col; gint col;
...@@ -264,9 +264,9 @@ gimp_drawable_get_color_uchar (gint32 drawable_ID, ...@@ -264,9 +264,9 @@ gimp_drawable_get_color_uchar (gint32 drawable_ID,
guchar * guchar *
gimp_drawable_get_thumbnail_data (gint32 drawable_ID, gimp_drawable_get_thumbnail_data (gint32 drawable_ID,
gint *width, gint *width,
gint *height, gint *height,
gint *bpp) gint *bpp)
{ {
gint ret_width; gint ret_width;
gint ret_height; gint ret_height;
...@@ -274,13 +274,13 @@ gimp_drawable_get_thumbnail_data (gint32 drawable_ID, ...@@ -274,13 +274,13 @@ gimp_drawable_get_thumbnail_data (gint32 drawable_ID,
gint data_size; gint data_size;
_gimp_drawable_thumbnail (drawable_ID, _gimp_drawable_thumbnail (drawable_ID,
*width, *width,
*height, *height,
&ret_width, &ret_width,
&ret_height, &ret_height,
bpp, bpp,
&data_size, &data_size,
&image_data); &image_data);
*width = ret_width; *width = ret_width;
*height = ret_height; *height = ret_height;
...@@ -338,10 +338,10 @@ gimp_drawable_get_sub_thumbnail_data (gint32 drawable_ID, ...@@ -338,10 +338,10 @@ gimp_drawable_get_sub_thumbnail_data (gint32 drawable_ID,
*/ */
gboolean gboolean
gimp_drawable_attach_new_parasite (gint32 drawable_ID, gimp_drawable_attach_new_parasite (gint32 drawable_ID,
const gchar *name, const gchar *name,
gint flags, gint flags,
gint size, gint size,
gconstpointer data) gconstpointer data)
{ {
GimpParasite *parasite = gimp_parasite_new (name, flags, size, data); GimpParasite *parasite = gimp_parasite_new (name, flags, size, data);
gboolean success; gboolean success;
......
...@@ -190,7 +190,7 @@ gimp_drawable_combo_box_new (GimpDrawableConstraintFunc constraint, ...@@ -190,7 +190,7 @@ gimp_drawable_combo_box_new (GimpDrawableConstraintFunc constraint,
G_DEFINE_TYPE(GimpChannelComboBox, G_DEFINE_TYPE(GimpChannelComboBox,
gimp_channel_combo_box, gimp_channel_combo_box,
GIMP_TYPE_INT_COMBO_BOX); GIMP_TYPE_INT_COMBO_BOX);
static void static void
gimp_channel_combo_box_class_init (GimpChannelComboBoxClass *klass) gimp_channel_combo_box_class_init (GimpChannelComboBoxClass *klass)
...@@ -269,7 +269,7 @@ gimp_channel_combo_box_new (GimpDrawableConstraintFunc constraint, ...@@ -269,7 +269,7 @@ gimp_channel_combo_box_new (GimpDrawableConstraintFunc constraint,
G_DEFINE_TYPE(GimpLayerComboBox, G_DEFINE_TYPE(GimpLayerComboBox,
gimp_layer_combo_box, gimp_layer_combo_box,
GIMP_TYPE_INT_COMBO_BOX); GIMP_TYPE_INT_COMBO_BOX);
static void static void
gimp_layer_combo_box_class_init (GimpLayerComboBoxClass *klass) gimp_layer_combo_box_class_init (GimpLayerComboBoxClass *klass)
......
...@@ -48,17 +48,17 @@ typedef struct ...@@ -48,17 +48,17 @@ typedef struct
static GObject * gimp_drawable_preview_constructor (GType type, static GObject * gimp_drawable_preview_constructor (GType type,
guint n_params, guint n_params,
GObjectConstructParam *params); GObjectConstructParam *params);
static void gimp_drawable_preview_get_property (GObject *object, static void gimp_drawable_preview_get_property (GObject *object,
guint property_id, guint property_id,
GValue *value, GValue *value,
GParamSpec *pspec); GParamSpec *pspec);
static void gimp_drawable_preview_set_property (GObject *object, static void gimp_drawable_preview_set_property (GObject *object,
guint property_id, guint property_id,
const GValue *value, const GValue *value,
GParamSpec *pspec); GParamSpec *pspec);
static void gimp_drawable_preview_destroy (GtkObject *object); static void gimp_drawable_preview_destroy (GtkObject *object);
static void gimp_drawable_preview_style_set (GtkWidget *widget, static void gimp_drawable_preview_style_set (GtkWidget *widget,
...@@ -74,7 +74,7 @@ static void gimp_drawable_preview_draw_buffer (GimpPreview *preview, ...@@ -74,7 +74,7 @@ static void gimp_drawable_preview_draw_buffer (GimpPreview *preview,
gint rowstride); gint rowstride);
static void gimp_drawable_preview_set_drawable (GimpDrawablePreview *preview, static void gimp_drawable_preview_set_drawable (GimpDrawablePreview *preview,
GimpDrawable *drawable); GimpDrawable *drawable);
G_DEFINE_TYPE (GimpDrawablePreview, gimp_drawable_preview, G_DEFINE_TYPE (GimpDrawablePreview, gimp_drawable_preview,
...@@ -110,8 +110,8 @@ gimp_drawable_preview_class_init (GimpDrawablePreviewClass *klass) ...@@ -110,8 +110,8 @@ gimp_drawable_preview_class_init (GimpDrawablePreviewClass *klass)
*/ */
g_object_class_install_property (object_class, PROP_DRAWABLE, g_object_class_install_property (object_class, PROP_DRAWABLE,
g_param_spec_pointer ("drawable", NULL, NULL, g_param_spec_pointer ("drawable", NULL, NULL,
GIMP_PARAM_READWRITE | GIMP_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY)); G_PARAM_CONSTRUCT_ONLY));
} }
static void static void
...@@ -125,8 +125,8 @@ gimp_drawable_preview_init (GimpDrawablePreview *preview) ...@@ -125,8 +125,8 @@ gimp_drawable_preview_init (GimpDrawablePreview *preview)
static GObject * static GObject *
gimp_drawable_preview_constructor (GType type, gimp_drawable_preview_constructor (GType type,
guint n_params, guint n_params,
GObjectConstructParam *params) GObjectConstructParam *params)
{ {
GObject *object; GObject *object;
PreviewSettings settings; PreviewSettings settings;
...@@ -145,9 +145,9 @@ gimp_drawable_preview_constructor (GType type, ...@@ -145,9 +145,9 @@ gimp_drawable_preview_constructor (GType type,
static void static void
gimp_drawable_preview_get_property (GObject *object, gimp_drawable_preview_get_property (GObject *object,
guint property_id, guint property_id,
GValue *value, GValue *value,
GParamSpec *pspec) GParamSpec *pspec)
{ {
GimpDrawablePreview *preview = GIMP_DRAWABLE_PREVIEW (object); GimpDrawablePreview *preview = GIMP_DRAWABLE_PREVIEW (object);
...@@ -155,7 +155,7 @@ gimp_drawable_preview_get_property (GObject *object, ...@@ -155,7 +155,7 @@ gimp_drawable_preview_get_property (GObject *object,
{ {
case PROP_DRAWABLE: case PROP_DRAWABLE:
g_value_set_pointer (value, g_value_set_pointer (value,
gimp_drawable_preview_get_drawable (preview)); gimp_drawable_preview_get_drawable (preview));
break; break;
default: default:
...@@ -166,9 +166,9 @@ gimp_drawable_preview_get_property (GObject *object, ...@@ -166,9 +166,9 @@ gimp_drawable_preview_get_property (GObject *object,
static void static void
gimp_drawable_preview_set_property (GObject *object, gimp_drawable_preview_set_property (GObject *object,
guint property_id, guint property_id,
const GValue *value, const GValue *value,
GParamSpec *pspec) GParamSpec *pspec)
{ {
GimpDrawablePreview *preview = GIMP_DRAWABLE_PREVIEW (object); GimpDrawablePreview *preview = GIMP_DRAWABLE_PREVIEW (object);
...@@ -176,7 +176,7 @@ gimp_drawable_preview_set_property (GObject *object, ...@@ -176,7 +176,7 @@ gimp_drawable_preview_set_property (GObject *object,
{ {
case PROP_DRAWABLE: case PROP_DRAWABLE:
gimp_drawable_preview_set_drawable (preview, gimp_drawable_preview_set_drawable (preview,
g_value_get_pointer (value)); g_value_get_pointer (value));
break; break;
default: default:
...@@ -277,9 +277,9 @@ gimp_drawable_preview_draw_thumb (GimpPreview *preview, ...@@ -277,9 +277,9 @@ gimp_drawable_preview_draw_thumb (GimpPreview *preview,
void void
_gimp_drawable_preview_area_draw_thumb (GimpPreviewArea *area, _gimp_drawable_preview_area_draw_thumb (GimpPreviewArea *area,
GimpDrawable *drawable, GimpDrawable *drawable,
gint width, gint width,
gint height) gint height)
{ {
guchar *buffer; guchar *buffer;
gint x1, y1, x2, y2; gint x1, y1, x2, y2;
...@@ -317,13 +317,13 @@ _gimp_drawable_preview_area_draw_thumb (GimpPreviewArea *area, ...@@ -317,13 +317,13 @@ _gimp_drawable_preview_area_draw_thumb (GimpPreviewArea *area,
buffer = gimp_drawable_get_sub_thumbnail_data (drawable->drawable_id, buffer = gimp_drawable_get_sub_thumbnail_data (drawable->drawable_id,
x1, y1, x2 - x1, y2 - y1, x1, y1, x2 - x1, y2 - y1,
&nav_width, &nav_height, &nav_width, &nav_height,
&bpp); &bpp);
} }
else else
{ {
buffer = gimp_drawable_get_thumbnail_data (drawable->drawable_id, buffer = gimp_drawable_get_thumbnail_data (drawable->drawable_id,
&nav_width, &nav_height, &nav_width, &nav_height,
&bpp); &bpp);
} }
if (buffer) if (buffer)
...@@ -467,10 +467,10 @@ gimp_drawable_preview_set_drawable (GimpDrawablePreview *drawable_preview, ...@@ -467,10 +467,10 @@ gimp_drawable_preview_set_drawable (GimpDrawablePreview *drawable_preview,
gboolean gboolean
_gimp_drawable_preview_get_bounds (GimpDrawable *drawable, _gimp_drawable_preview_get_bounds (GimpDrawable *drawable,
gint *xmin, gint *xmin,
gint *ymin, gint *ymin,
gint *xmax, gint *xmax,
gint *ymax) gint *ymax)
{ {
gint width; gint width;
gint height; gint height;
...@@ -533,8 +533,8 @@ gimp_drawable_preview_new (GimpDrawable *drawable, ...@@ -533,8 +533,8 @@ gimp_drawable_preview_new (GimpDrawable *drawable,
g_return_val_if_fail (drawable != NULL, NULL); g_return_val_if_fail (drawable != NULL, NULL);
preview = g_object_new (GIMP_TYPE_DRAWABLE_PREVIEW, preview = g_object_new (GIMP_TYPE_DRAWABLE_PREVIEW,
"drawable", drawable, "drawable", drawable,
NULL); NULL);
if (toggle) if (toggle)
{ {
......
...@@ -70,14 +70,14 @@ void gimp_drawable_preview_draw_region (GimpDrawablePreview *preview, ...@@ -70,14 +70,14 @@ void gimp_drawable_preview_draw_region (GimpDrawablePreview *preview,
/* for internal use only */ /* for internal use only */
void _gimp_drawable_preview_area_draw_thumb (GimpPreviewArea *area, void _gimp_drawable_preview_area_draw_thumb (GimpPreviewArea *area,
GimpDrawable *drawable, GimpDrawable *drawable,
gint width, gint width,
gint height) G_GNUC_INTERNAL; gint height) G_GNUC_INTERNAL;
gboolean _gimp_drawable_preview_get_bounds (GimpDrawable *drawable, gboolean _gimp_drawable_preview_get_bounds (GimpDrawable *drawable,
gint *xmin, gint *xmin,
gint *ymin, gint *ymin,
gint *xmax, gint *xmax,
gint *ymax) G_GNUC_INTERNAL; gint *ymax) G_GNUC_INTERNAL;
G_END_DECLS G_END_DECLS
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
typedef void (* ExportFunc) (gint32 imageID, typedef void (* ExportFunc) (gint32 imageID,
gint32 *drawable_ID); gint32 *drawable_ID);
/* the export action structure */ /* the export action structure */
...@@ -49,7 +49,7 @@ typedef struct ...@@ -49,7 +49,7 @@ typedef struct
static void static void
export_merge (gint32 image_ID, export_merge (gint32 image_ID,
gint32 *drawable_ID) gint32 *drawable_ID)
{ {
gint32 nlayers; gint32 nlayers;
gint32 nvisible = 0; gint32 nvisible = 0;
...@@ -62,19 +62,19 @@ export_merge (gint32 image_ID, ...@@ -62,19 +62,19 @@ export_merge (gint32 image_ID,
for (i = 0; i < nlayers; i++) for (i = 0; i < nlayers; i++)
{