[anjuta] sourceview: Removed handler blockers from ieditor_insert



commit 2a74a9c1cea97438275e3c32c2cbf30bd9572dc6
Author: Dragos Dena <dragos dena gmail com>
Date:   Tue Aug 10 23:26:33 2010 +0300

    sourceview: Removed handler blockers from ieditor_insert

 plugins/sourceview/sourceview.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/plugins/sourceview/sourceview.c b/plugins/sourceview/sourceview.c
index a46d1e5..f99f8c9 100644
--- a/plugins/sourceview/sourceview.c
+++ b/plugins/sourceview/sourceview.c
@@ -1190,14 +1190,8 @@ static void ieditor_insert(IAnjutaEditor *editor, IAnjutaIterable* icell,
 	Sourceview* sv = ANJUTA_SOURCEVIEW(editor);
 	sourceview_cell_get_iter (cell, &iter);
 	
-	g_signal_handlers_block_by_func (sv->priv->document,
-										  on_insert_text,
-										  sv);
 	gtk_text_buffer_insert(GTK_TEXT_BUFFER(sv->priv->document),
 						   &iter, text, length);
-	g_signal_handlers_unblock_by_func (sv->priv->document,
-									 on_insert_text,
-									 sv);
 }
 
 /* Append text to buffer */



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