[gtksourceview/gtksourcecompletion] Fixed using wrong object to set sizes



commit 3d12a4f211fb112051657407f7bcc7c1c7224515
Author: Jesse van den Kieboom <jessevdk gnome org>
Date:   Mon Sep 21 23:28:09 2009 +0200

    Fixed using wrong object to set sizes

 .../words/gtksourcecompletionwords.c               |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gtksourceview/completion-providers/words/gtksourcecompletionwords.c b/gtksourceview/completion-providers/words/gtksourcecompletionwords.c
index dc5e723..2aecda1 100644
--- a/gtksourceview/completion-providers/words/gtksourcecompletionwords.c
+++ b/gtksourceview/completion-providers/words/gtksourcecompletionwords.c
@@ -558,9 +558,10 @@ gtk_source_completion_words_register (GtkSourceCompletionWords *words,
 	buf = gtk_source_completion_words_buffer_new (words->priv->library,
 	                                              buffer);
 	
-	gtk_source_completion_words_buffer_set_scan_batch_size (buffer,
+	gtk_source_completion_words_buffer_set_scan_batch_size (buf,
 	                                                        words->priv->scan_batch_size);
-	gtk_source_completion_words_buffer_set_minimum_word_size (buffer,
+
+	gtk_source_completion_words_buffer_set_minimum_word_size (buf,
 	                                                          words->priv->minimum_word_size);
 	
 	binding = g_slice_new (BufferBinding);



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