[gnome-builder] buffer-monitor: trigger on CHANGES_DONE_HINT



commit 6eec9ccdc29678c6230eaf31c3ea29bdd95a3798
Author: Christian Hergert <chergert redhat com>
Date:   Fri May 17 12:55:46 2019 -0700

    buffer-monitor: trigger on CHANGES_DONE_HINT
    
    We can't rely on getting a CHANGED in some cases, such as from
    clang-format -i.

 src/plugins/buffer-monitor/gbp-buffer-monitor-buffer-addin.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/plugins/buffer-monitor/gbp-buffer-monitor-buffer-addin.c 
b/src/plugins/buffer-monitor/gbp-buffer-monitor-buffer-addin.c
index 42fbb50c6..686163851 100644
--- a/src/plugins/buffer-monitor/gbp-buffer-monitor-buffer-addin.c
+++ b/src/plugins/buffer-monitor/gbp-buffer-monitor-buffer-addin.c
@@ -127,6 +127,7 @@ gbp_buffer_monitor_buffer_addin_file_changed_cb (GbpBufferMonitorBufferAddin *se
   IDE_TRACE_MSG ("%s event=%d", g_file_peek_path (file), event);
 
   if (event == G_FILE_MONITOR_EVENT_CHANGED ||
+      event == G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT ||
       event == G_FILE_MONITOR_EVENT_DELETED ||
       event == G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED)
     {


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