mirror of https://github.com/GNOME/gimp.git
fixed a small typo that prevented the composite image from being updated
Wed Jul 8 21:08:03 CDT 1998 Larry Ewing <lewing@gimp.org> * app/gimpimage.c (gimp_image_raise_layer): fixed a small typo that prevented the composite image from being updated properly CV: ----------------------------------------------------------------------
This commit is contained in:
parent
57abc91fd9
commit
1a1393983b
|
@ -1,3 +1,8 @@
|
|||
Wed Jul 8 21:08:03 CDT 1998 Larry Ewing <lewing@gimp.org>
|
||||
|
||||
* app/gimpimage.c (gimp_image_raise_layer): fixed a small typo
|
||||
that prevented the composite image from being updated properly
|
||||
|
||||
Wed Jul 8 10:47:51 CDT 1998 Larry Ewing <lewing@gimp.org>
|
||||
|
||||
* app/preferences_dialog.c: replaced old invalidate calls
|
||||
|
|
|
@ -1586,10 +1586,11 @@ gimp_image_raise_layer (GimpImage *gimage, Layer *layer_arg)
|
|||
off2_x + drawable_width (GIMP_DRAWABLE(prev_layer)));
|
||||
y2 = MIN (off_y + drawable_height (GIMP_DRAWABLE(layer)),
|
||||
off2_y + drawable_height (GIMP_DRAWABLE(prev_layer)));
|
||||
|
||||
if ((x2 - x1) > 0 && (y2 - y1) > 0)
|
||||
gtk_signal_emit(GTK_OBJECT(gimage),
|
||||
gimp_image_signals[REPAINT],
|
||||
x1, x2, x2-x1, y2-y1);
|
||||
x1, y1, x2-x1, y2-y1);
|
||||
|
||||
/* invalidate the composite preview */
|
||||
gimp_image_invalidate_preview (gimage);
|
||||
|
@ -1657,6 +1658,7 @@ gimp_image_lower_layer (GimpImage *gimage, Layer *layer_arg)
|
|||
off2_x + drawable_width (GIMP_DRAWABLE(next_layer)));
|
||||
y2 = MIN (off_y + drawable_height (GIMP_DRAWABLE(layer)),
|
||||
off2_y + drawable_height (GIMP_DRAWABLE(next_layer)));
|
||||
|
||||
if ((x2 - x1) > 0 && (y2 - y1) > 0)
|
||||
gtk_signal_emit(GTK_OBJECT(gimage),
|
||||
gimp_image_signals[REPAINT],
|
||||
|
|
|
@ -1586,10 +1586,11 @@ gimp_image_raise_layer (GimpImage *gimage, Layer *layer_arg)
|
|||
off2_x + drawable_width (GIMP_DRAWABLE(prev_layer)));
|
||||
y2 = MIN (off_y + drawable_height (GIMP_DRAWABLE(layer)),
|
||||
off2_y + drawable_height (GIMP_DRAWABLE(prev_layer)));
|
||||
|
||||
if ((x2 - x1) > 0 && (y2 - y1) > 0)
|
||||
gtk_signal_emit(GTK_OBJECT(gimage),
|
||||
gimp_image_signals[REPAINT],
|
||||
x1, x2, x2-x1, y2-y1);
|
||||
x1, y1, x2-x1, y2-y1);
|
||||
|
||||
/* invalidate the composite preview */
|
||||
gimp_image_invalidate_preview (gimage);
|
||||
|
@ -1657,6 +1658,7 @@ gimp_image_lower_layer (GimpImage *gimage, Layer *layer_arg)
|
|||
off2_x + drawable_width (GIMP_DRAWABLE(next_layer)));
|
||||
y2 = MIN (off_y + drawable_height (GIMP_DRAWABLE(layer)),
|
||||
off2_y + drawable_height (GIMP_DRAWABLE(next_layer)));
|
||||
|
||||
if ((x2 - x1) > 0 && (y2 - y1) > 0)
|
||||
gtk_signal_emit(GTK_OBJECT(gimage),
|
||||
gimp_image_signals[REPAINT],
|
||||
|
|
|
@ -1586,10 +1586,11 @@ gimp_image_raise_layer (GimpImage *gimage, Layer *layer_arg)
|
|||
off2_x + drawable_width (GIMP_DRAWABLE(prev_layer)));
|
||||
y2 = MIN (off_y + drawable_height (GIMP_DRAWABLE(layer)),
|
||||
off2_y + drawable_height (GIMP_DRAWABLE(prev_layer)));
|
||||
|
||||
if ((x2 - x1) > 0 && (y2 - y1) > 0)
|
||||
gtk_signal_emit(GTK_OBJECT(gimage),
|
||||
gimp_image_signals[REPAINT],
|
||||
x1, x2, x2-x1, y2-y1);
|
||||
x1, y1, x2-x1, y2-y1);
|
||||
|
||||
/* invalidate the composite preview */
|
||||
gimp_image_invalidate_preview (gimage);
|
||||
|
@ -1657,6 +1658,7 @@ gimp_image_lower_layer (GimpImage *gimage, Layer *layer_arg)
|
|||
off2_x + drawable_width (GIMP_DRAWABLE(next_layer)));
|
||||
y2 = MIN (off_y + drawable_height (GIMP_DRAWABLE(layer)),
|
||||
off2_y + drawable_height (GIMP_DRAWABLE(next_layer)));
|
||||
|
||||
if ((x2 - x1) > 0 && (y2 - y1) > 0)
|
||||
gtk_signal_emit(GTK_OBJECT(gimage),
|
||||
gimp_image_signals[REPAINT],
|
||||
|
|
|
@ -1586,10 +1586,11 @@ gimp_image_raise_layer (GimpImage *gimage, Layer *layer_arg)
|
|||
off2_x + drawable_width (GIMP_DRAWABLE(prev_layer)));
|
||||
y2 = MIN (off_y + drawable_height (GIMP_DRAWABLE(layer)),
|
||||
off2_y + drawable_height (GIMP_DRAWABLE(prev_layer)));
|
||||
|
||||
if ((x2 - x1) > 0 && (y2 - y1) > 0)
|
||||
gtk_signal_emit(GTK_OBJECT(gimage),
|
||||
gimp_image_signals[REPAINT],
|
||||
x1, x2, x2-x1, y2-y1);
|
||||
x1, y1, x2-x1, y2-y1);
|
||||
|
||||
/* invalidate the composite preview */
|
||||
gimp_image_invalidate_preview (gimage);
|
||||
|
@ -1657,6 +1658,7 @@ gimp_image_lower_layer (GimpImage *gimage, Layer *layer_arg)
|
|||
off2_x + drawable_width (GIMP_DRAWABLE(next_layer)));
|
||||
y2 = MIN (off_y + drawable_height (GIMP_DRAWABLE(layer)),
|
||||
off2_y + drawable_height (GIMP_DRAWABLE(next_layer)));
|
||||
|
||||
if ((x2 - x1) > 0 && (y2 - y1) > 0)
|
||||
gtk_signal_emit(GTK_OBJECT(gimage),
|
||||
gimp_image_signals[REPAINT],
|
||||
|
|
|
@ -1586,10 +1586,11 @@ gimp_image_raise_layer (GimpImage *gimage, Layer *layer_arg)
|
|||
off2_x + drawable_width (GIMP_DRAWABLE(prev_layer)));
|
||||
y2 = MIN (off_y + drawable_height (GIMP_DRAWABLE(layer)),
|
||||
off2_y + drawable_height (GIMP_DRAWABLE(prev_layer)));
|
||||
|
||||
if ((x2 - x1) > 0 && (y2 - y1) > 0)
|
||||
gtk_signal_emit(GTK_OBJECT(gimage),
|
||||
gimp_image_signals[REPAINT],
|
||||
x1, x2, x2-x1, y2-y1);
|
||||
x1, y1, x2-x1, y2-y1);
|
||||
|
||||
/* invalidate the composite preview */
|
||||
gimp_image_invalidate_preview (gimage);
|
||||
|
@ -1657,6 +1658,7 @@ gimp_image_lower_layer (GimpImage *gimage, Layer *layer_arg)
|
|||
off2_x + drawable_width (GIMP_DRAWABLE(next_layer)));
|
||||
y2 = MIN (off_y + drawable_height (GIMP_DRAWABLE(layer)),
|
||||
off2_y + drawable_height (GIMP_DRAWABLE(next_layer)));
|
||||
|
||||
if ((x2 - x1) > 0 && (y2 - y1) > 0)
|
||||
gtk_signal_emit(GTK_OBJECT(gimage),
|
||||
gimp_image_signals[REPAINT],
|
||||
|
|
|
@ -1586,10 +1586,11 @@ gimp_image_raise_layer (GimpImage *gimage, Layer *layer_arg)
|
|||
off2_x + drawable_width (GIMP_DRAWABLE(prev_layer)));
|
||||
y2 = MIN (off_y + drawable_height (GIMP_DRAWABLE(layer)),
|
||||
off2_y + drawable_height (GIMP_DRAWABLE(prev_layer)));
|
||||
|
||||
if ((x2 - x1) > 0 && (y2 - y1) > 0)
|
||||
gtk_signal_emit(GTK_OBJECT(gimage),
|
||||
gimp_image_signals[REPAINT],
|
||||
x1, x2, x2-x1, y2-y1);
|
||||
x1, y1, x2-x1, y2-y1);
|
||||
|
||||
/* invalidate the composite preview */
|
||||
gimp_image_invalidate_preview (gimage);
|
||||
|
@ -1657,6 +1658,7 @@ gimp_image_lower_layer (GimpImage *gimage, Layer *layer_arg)
|
|||
off2_x + drawable_width (GIMP_DRAWABLE(next_layer)));
|
||||
y2 = MIN (off_y + drawable_height (GIMP_DRAWABLE(layer)),
|
||||
off2_y + drawable_height (GIMP_DRAWABLE(next_layer)));
|
||||
|
||||
if ((x2 - x1) > 0 && (y2 - y1) > 0)
|
||||
gtk_signal_emit(GTK_OBJECT(gimage),
|
||||
gimp_image_signals[REPAINT],
|
||||
|
|
|
@ -1586,10 +1586,11 @@ gimp_image_raise_layer (GimpImage *gimage, Layer *layer_arg)
|
|||
off2_x + drawable_width (GIMP_DRAWABLE(prev_layer)));
|
||||
y2 = MIN (off_y + drawable_height (GIMP_DRAWABLE(layer)),
|
||||
off2_y + drawable_height (GIMP_DRAWABLE(prev_layer)));
|
||||
|
||||
if ((x2 - x1) > 0 && (y2 - y1) > 0)
|
||||
gtk_signal_emit(GTK_OBJECT(gimage),
|
||||
gimp_image_signals[REPAINT],
|
||||
x1, x2, x2-x1, y2-y1);
|
||||
x1, y1, x2-x1, y2-y1);
|
||||
|
||||
/* invalidate the composite preview */
|
||||
gimp_image_invalidate_preview (gimage);
|
||||
|
@ -1657,6 +1658,7 @@ gimp_image_lower_layer (GimpImage *gimage, Layer *layer_arg)
|
|||
off2_x + drawable_width (GIMP_DRAWABLE(next_layer)));
|
||||
y2 = MIN (off_y + drawable_height (GIMP_DRAWABLE(layer)),
|
||||
off2_y + drawable_height (GIMP_DRAWABLE(next_layer)));
|
||||
|
||||
if ((x2 - x1) > 0 && (y2 - y1) > 0)
|
||||
gtk_signal_emit(GTK_OBJECT(gimage),
|
||||
gimp_image_signals[REPAINT],
|
||||
|
|
|
@ -1586,10 +1586,11 @@ gimp_image_raise_layer (GimpImage *gimage, Layer *layer_arg)
|
|||
off2_x + drawable_width (GIMP_DRAWABLE(prev_layer)));
|
||||
y2 = MIN (off_y + drawable_height (GIMP_DRAWABLE(layer)),
|
||||
off2_y + drawable_height (GIMP_DRAWABLE(prev_layer)));
|
||||
|
||||
if ((x2 - x1) > 0 && (y2 - y1) > 0)
|
||||
gtk_signal_emit(GTK_OBJECT(gimage),
|
||||
gimp_image_signals[REPAINT],
|
||||
x1, x2, x2-x1, y2-y1);
|
||||
x1, y1, x2-x1, y2-y1);
|
||||
|
||||
/* invalidate the composite preview */
|
||||
gimp_image_invalidate_preview (gimage);
|
||||
|
@ -1657,6 +1658,7 @@ gimp_image_lower_layer (GimpImage *gimage, Layer *layer_arg)
|
|||
off2_x + drawable_width (GIMP_DRAWABLE(next_layer)));
|
||||
y2 = MIN (off_y + drawable_height (GIMP_DRAWABLE(layer)),
|
||||
off2_y + drawable_height (GIMP_DRAWABLE(next_layer)));
|
||||
|
||||
if ((x2 - x1) > 0 && (y2 - y1) > 0)
|
||||
gtk_signal_emit(GTK_OBJECT(gimage),
|
||||
gimp_image_signals[REPAINT],
|
||||
|
|
Loading…
Reference in New Issue