[gtksourceview] CompletionModel: fix the value of iter.user_data



commit da4a4da3dbea0edb43c20d38067174650565c951
Author: SÃbastien Wilmet <sebastien wilmet gmail com>
Date:   Sun Apr 8 23:24:28 2012 +0200

    CompletionModel: fix the value of iter.user_data

 gtksourceview/gtksourcecompletionmodel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtksourceview/gtksourcecompletionmodel.c b/gtksourceview/gtksourcecompletionmodel.c
index 3138bf1..b552437 100644
--- a/gtksourceview/gtksourcecompletionmodel.c
+++ b/gtksourceview/gtksourcecompletionmodel.c
@@ -607,7 +607,7 @@ on_proposal_changed (GtkSourceCompletionProposal *proposal,
 
 	if (!node->filtered)
 	{
-		iter.user_data = node;
+		iter.user_data = item;
 		path = path_from_list (node->model, item);
 
 		gtk_tree_model_row_changed (GTK_TREE_MODEL (node->model),



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