[gtksourceview] fixed #640374: Interactive completion not triggered with some condition.



commit 79a1a184dd73f050dee9750818d9a48c96534ece
Author: Eiichi Sato <sato eiichi gmail com>
Date:   Mon Jan 24 11:57:49 2011 +0900

    fixed #640374: Interactive completion not triggered with some condition.

 gtksourceview/gtksourcecompletion.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtksourceview/gtksourcecompletion.c b/gtksourceview/gtksourcecompletion.c
index 1b3d8f3..c4191ae 100644
--- a/gtksourceview/gtksourcecompletion.c
+++ b/gtksourceview/gtksourcecompletion.c
@@ -1645,7 +1645,7 @@ update_interactive_completion (GtkSourceCompletion *completion,
                                gboolean             start_completion)
 {
 	/* Only handle interactive completion in editable parts of the buffer */
-	if (!gtk_text_iter_editable (iter, TRUE))
+	if (!gtk_text_iter_can_insert (iter, TRUE))
 	{
 		return;
 	}



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