[gtksourceview/wip/chergert/gsv-gtk4: 228/259] completion: fix transfer of word proposal




commit adde4b14d435baf636236e80e8993265b47a2789
Author: Christian Hergert <chergert redhat com>
Date:   Tue Sep 8 15:38:02 2020 -0700

    completion: fix transfer of word proposal

 gtksourceview/completion-providers/words/gtksourcecompletionwords.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/gtksourceview/completion-providers/words/gtksourcecompletionwords.c 
b/gtksourceview/completion-providers/words/gtksourcecompletionwords.c
index 419a7274..79d23b2b 100644
--- a/gtksourceview/completion-providers/words/gtksourcecompletionwords.c
+++ b/gtksourceview/completion-providers/words/gtksourcecompletionwords.c
@@ -153,8 +153,6 @@ add_in_idle (GTask *task)
                        g_list_store_append (p->ret, proposal);
                }
 
-               g_clear_object (&proposal);
-
                p->populate_iter = gtk_source_completion_words_library_find_next (p->populate_iter,
                                                                                  p->word,
                                                                                  p->word_len);


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