[gnome-text-editor] spellcheck: set the update_source field



commit fcbddaee7d2f5ae9809c84cb2e2c7bbfd1561203
Author: Christian Hergert <chergert redhat com>
Date:   Fri Jul 16 19:58:40 2021 -0700

    spellcheck: set the update_source field

 src/editor-text-buffer-spell-adapter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/editor-text-buffer-spell-adapter.c b/src/editor-text-buffer-spell-adapter.c
index f7e6cc3..62573a1 100644
--- a/src/editor-text-buffer-spell-adapter.c
+++ b/src/editor-text-buffer-spell-adapter.c
@@ -271,7 +271,7 @@ editor_text_buffer_spell_adapter_queue_update (EditorTextBufferSpellAdapter *sel
     }
 
   if (self->update_source == 0)
-    editor_buffer_scheduler_add (editor_text_buffer_spell_adapter_run, self);
+    self->update_source = editor_buffer_scheduler_add (editor_text_buffer_spell_adapter_run, self);
 }
 
 static void


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