[gimp] app: use gtk_text_buffer_delete_interactive()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: use gtk_text_buffer_delete_interactive()
- Date: Mon, 1 Mar 2010 15:05:16 +0000 (UTC)
commit ff50b52c7286b89f1de45014426117b690bf0d2c
Author: Michael Natterer <mitch gimp org>
Date: Mon Mar 1 16:03:48 2010 +0100
app: use gtk_text_buffer_delete_interactive()
instead of just gtk_text_buffer_delete() so "end-user-action" is
emitted and everything is updated.
app/tools/gimptexttool-editor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/tools/gimptexttool-editor.c b/app/tools/gimptexttool-editor.c
index 29f40d7..ab7676c 100644
--- a/app/tools/gimptexttool-editor.c
+++ b/app/tools/gimptexttool-editor.c
@@ -983,7 +983,7 @@ gimp_text_tool_delete_from_cursor (GimpTextTool *text_tool,
{
gimp_draw_tool_pause (GIMP_DRAW_TOOL (text_tool));
- gtk_text_buffer_delete (buffer, &cursor, &end);
+ gtk_text_buffer_delete_interactive (buffer, &cursor, &end, TRUE);
gimp_draw_tool_resume (GIMP_DRAW_TOOL (text_tool));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]