[gtk+/wip/otte/tokenizer: 6/42] inspector: Don't clear all tags when getting text



commit cbb23971c8ee7410095f884f5c82fcb34f251ecc
Author: Benjamin Otte <otte redhat com>
Date:   Tue Mar 8 01:45:21 2016 +0100

    inspector: Don't clear all tags when getting text

 gtk/inspector/css-editor.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/inspector/css-editor.c b/gtk/inspector/css-editor.c
index 51d646b..c4af9a6 100644
--- a/gtk/inspector/css-editor.c
+++ b/gtk/inspector/css-editor.c
@@ -144,7 +144,6 @@ get_current_text (GtkTextBuffer *buffer)
 
   gtk_text_buffer_get_start_iter (buffer, &start);
   gtk_text_buffer_get_end_iter (buffer, &end);
-  gtk_text_buffer_remove_all_tags (buffer, &start, &end);
 
   return gtk_text_buffer_get_text (buffer, &start, &end, FALSE);
 }


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