[gimp] app: remove redundant call to gimp_text_buffer_set_text()



commit 9af58d8c4379cba138be3c3c0046d601eab334be
Author: Michael Natterer <mitch gimp org>
Date:   Sun Feb 28 17:19:36 2010 +0100

    app: remove redundant call to gimp_text_buffer_set_text()

 app/tools/gimptexttool.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/app/tools/gimptexttool.c b/app/tools/gimptexttool.c
index 4e24330..e067777 100644
--- a/app/tools/gimptexttool.c
+++ b/app/tools/gimptexttool.c
@@ -927,7 +927,6 @@ gimp_text_tool_connect (GimpTextTool  *text_tool,
                         "text",   NULL,
                         "markup", NULL,
                         NULL);
-          gimp_text_buffer_set_text (text_tool->buffer, NULL);
           gimp_text_buffer_set_markup (text_tool->buffer, NULL);
 
           gimp_text_tool_clear_layout (text_tool);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]