[gimp] app: push the right drawable undo here too
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: push the right drawable undo here too
- Date: Sun, 21 Feb 2010 13:34:05 +0000 (UTC)
commit e5e6638c32a4e03403f21bd25c675bb06943eda2
Author: Michael Natterer <mitch gimp org>
Date: Sun Feb 21 12:23:51 2010 +0100
app: push the right drawable undo here too
app/text/gimptextlayer.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/app/text/gimptextlayer.c b/app/text/gimptextlayer.c
index 1412284..f0f2e67 100644
--- a/app/text/gimptextlayer.c
+++ b/app/text/gimptextlayer.c
@@ -457,7 +457,11 @@ gimp_text_layer_set (GimpTextLayer *layer,
if (layer->modified)
{
gimp_image_undo_push_text_layer_modified (image, NULL, layer);
- gimp_image_undo_push_drawable_mod (image, NULL, GIMP_DRAWABLE (layer));
+ gimp_drawable_push_undo (GIMP_DRAWABLE (layer), NULL,
+ 0, 0,
+ gimp_item_get_width (GIMP_ITEM (layer)),
+ gimp_item_get_height (GIMP_ITEM (layer)),
+ NULL, FALSE);
}
gimp_image_undo_push_text_layer (image, undo_desc, layer, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]