[gimp] app: call begin_user_action() and end_user_action() around removing tags
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: call begin_user_action() and end_user_action() around removing tags
- Date: Mon, 1 Mar 2010 15:10:49 +0000 (UTC)
commit f519b90a2b5f6a40c1483175268dbe4afad1a880
Author: Michael Natterer <mitch gimp org>
Date: Mon Mar 1 16:09:50 2010 +0100
app: call begin_user_action() and end_user_action() around removing tags
app/widgets/gimptextstyleeditor.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/app/widgets/gimptextstyleeditor.c b/app/widgets/gimptextstyleeditor.c
index af11046..388de54 100644
--- a/app/widgets/gimptextstyleeditor.c
+++ b/app/widgets/gimptextstyleeditor.c
@@ -339,7 +339,11 @@ gimp_text_style_editor_clear_tags (GtkButton *button,
gtk_text_buffer_get_selection_bounds (buffer, &start, &end);
+ gtk_text_buffer_begin_user_action (buffer);
+
gtk_text_buffer_remove_all_tags (buffer, &start, &end);
+
+ gtk_text_buffer_end_user_action (buffer);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]