app/core/core-enums.[ch] drop the "image" from GIMP_UNDO_IMAGE_GUIDE,
2007-01-30 Michael Natterer <mitch@gimp.org> * app/core/core-enums.[ch] * app/core/gimpimage-undo-push.[ch]: drop the "image" from GIMP_UNDO_IMAGE_GUIDE, GIMP_UNDO_IMAGE_SAMPLE_POINT, gimp_imge_undo_push_image_guide() and gimp_imge_undo_push_image_sample_point() * app/core/gimpimage-undo.c * app/core/gimpimage-guides.c * app/core/gimpimage-scale.c * app/core/gimpimage-sample-points.c * app/core/gimpimage-rotate.c * app/tools/gimpmeasuretool.c: changed accordingly. svn path=/trunk/; revision=21804
This commit is contained in:
committed by
Michael Natterer
parent
e3886a2182
commit
dcee3d60c3
@ -47,7 +47,7 @@ gimp_image_add_hguide (GimpImage *image,
|
||||
image->gimp->next_guide_ID++);
|
||||
|
||||
if (push_undo)
|
||||
gimp_image_undo_push_image_guide (image, _("Add Horizontal Guide"), guide);
|
||||
gimp_image_undo_push_guide (image, _("Add Horizontal Guide"), guide);
|
||||
|
||||
gimp_image_add_guide (image, guide, position);
|
||||
g_object_unref (G_OBJECT (guide));
|
||||
@ -69,7 +69,7 @@ gimp_image_add_vguide (GimpImage *image,
|
||||
image->gimp->next_guide_ID++);
|
||||
|
||||
if (push_undo)
|
||||
gimp_image_undo_push_image_guide (image, _("Add Vertical Guide"), guide);
|
||||
gimp_image_undo_push_guide (image, _("Add Vertical Guide"), guide);
|
||||
|
||||
gimp_image_add_guide (image, guide, position);
|
||||
g_object_unref (G_OBJECT (guide));
|
||||
@ -110,7 +110,7 @@ gimp_image_remove_guide (GimpImage *image,
|
||||
gimp_image_update_guide (image, guide);
|
||||
|
||||
if (push_undo)
|
||||
gimp_image_undo_push_image_guide (image, _("Remove Guide"), guide);
|
||||
gimp_image_undo_push_guide (image, _("Remove Guide"), guide);
|
||||
|
||||
image->guides = g_list_remove (image->guides, guide);
|
||||
gimp_guide_removed (guide);
|
||||
@ -135,7 +135,7 @@ gimp_image_move_guide (GimpImage *image,
|
||||
g_return_if_fail (position <= image->width);
|
||||
|
||||
if (push_undo)
|
||||
gimp_image_undo_push_image_guide (image, _("Move Guide"), guide);
|
||||
gimp_image_undo_push_guide (image, _("Move Guide"), guide);
|
||||
|
||||
gimp_image_update_guide (image, guide);
|
||||
gimp_guide_set_position (guide, position);
|
||||
|
||||
Reference in New Issue
Block a user