mirror of https://github.com/GNOME/gimp.git
clone_motion: silently ignore cloning if the clone source hasn't been
Thu Jul 9 22:04:04 EDT 1998 Michael K. Johnson <johnsonm@redhat.com> * app/clone.c: clone_motion: silently ignore cloning if the clone source hasn't been selected or no longer exists. Slightly modified last commit to be less noisy.
This commit is contained in:
parent
42270eb6dc
commit
1f1c9e1684
|
@ -1,7 +1,7 @@
|
|||
Thu Jul 9 22:04:04 EDT 1998 Michael K. Johnson <johnsonm@redhat.com>
|
||||
|
||||
* app/clone.c: clone_motion: error message instead of segv
|
||||
if the clone source hasn't been selected or no longer exists.
|
||||
* app/clone.c: clone_motion: silently ignore cloning if the
|
||||
clone source hasn't been selected or no longer exists.
|
||||
|
||||
Wed Jul 8 21:34:31 PDT 1998 Jay Cox <jaycox@earthlink.net>
|
||||
|
||||
|
|
|
@ -332,10 +332,7 @@ clone_motion (PaintCore *paint_core,
|
|||
if (!src_drawable ||
|
||||
(! (src_gimage = drawable_gimage (src_drawable)) && type == ImageClone) ||
|
||||
! (gimage = drawable_gimage (drawable)))
|
||||
{
|
||||
g_message("Select source image before cloning");
|
||||
return;
|
||||
}
|
||||
return;
|
||||
|
||||
/* Get a region which can be used to paint to */
|
||||
if (! (area = paint_core_get_paint_area (paint_core, drawable)))
|
||||
|
|
|
@ -332,10 +332,7 @@ clone_motion (PaintCore *paint_core,
|
|||
if (!src_drawable ||
|
||||
(! (src_gimage = drawable_gimage (src_drawable)) && type == ImageClone) ||
|
||||
! (gimage = drawable_gimage (drawable)))
|
||||
{
|
||||
g_message("Select source image before cloning");
|
||||
return;
|
||||
}
|
||||
return;
|
||||
|
||||
/* Get a region which can be used to paint to */
|
||||
if (! (area = paint_core_get_paint_area (paint_core, drawable)))
|
||||
|
|
|
@ -332,10 +332,7 @@ clone_motion (PaintCore *paint_core,
|
|||
if (!src_drawable ||
|
||||
(! (src_gimage = drawable_gimage (src_drawable)) && type == ImageClone) ||
|
||||
! (gimage = drawable_gimage (drawable)))
|
||||
{
|
||||
g_message("Select source image before cloning");
|
||||
return;
|
||||
}
|
||||
return;
|
||||
|
||||
/* Get a region which can be used to paint to */
|
||||
if (! (area = paint_core_get_paint_area (paint_core, drawable)))
|
||||
|
|
|
@ -332,10 +332,7 @@ clone_motion (PaintCore *paint_core,
|
|||
if (!src_drawable ||
|
||||
(! (src_gimage = drawable_gimage (src_drawable)) && type == ImageClone) ||
|
||||
! (gimage = drawable_gimage (drawable)))
|
||||
{
|
||||
g_message("Select source image before cloning");
|
||||
return;
|
||||
}
|
||||
return;
|
||||
|
||||
/* Get a region which can be used to paint to */
|
||||
if (! (area = paint_core_get_paint_area (paint_core, drawable)))
|
||||
|
|
|
@ -332,10 +332,7 @@ clone_motion (PaintCore *paint_core,
|
|||
if (!src_drawable ||
|
||||
(! (src_gimage = drawable_gimage (src_drawable)) && type == ImageClone) ||
|
||||
! (gimage = drawable_gimage (drawable)))
|
||||
{
|
||||
g_message("Select source image before cloning");
|
||||
return;
|
||||
}
|
||||
return;
|
||||
|
||||
/* Get a region which can be used to paint to */
|
||||
if (! (area = paint_core_get_paint_area (paint_core, drawable)))
|
||||
|
|
|
@ -332,10 +332,7 @@ clone_motion (PaintCore *paint_core,
|
|||
if (!src_drawable ||
|
||||
(! (src_gimage = drawable_gimage (src_drawable)) && type == ImageClone) ||
|
||||
! (gimage = drawable_gimage (drawable)))
|
||||
{
|
||||
g_message("Select source image before cloning");
|
||||
return;
|
||||
}
|
||||
return;
|
||||
|
||||
/* Get a region which can be used to paint to */
|
||||
if (! (area = paint_core_get_paint_area (paint_core, drawable)))
|
||||
|
|
Loading…
Reference in New Issue