[gnome-builder] buffer-monitor: include TIME_MODIFIED_USEC



commit f9160551f14dba1d834341dc63a34b7c31b67fe6
Author: Christian Hergert <chergert redhat com>
Date:   Wed Sep 4 14:38:11 2019 -0700

    buffer-monitor: include TIME_MODIFIED_USEC
    
    Possibly related to #1005

 src/plugins/buffer-monitor/gbp-buffer-monitor-buffer-addin.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
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 46e9ec8ea..34604a57a 100644
--- a/src/plugins/buffer-monitor/gbp-buffer-monitor-buffer-addin.c
+++ b/src/plugins/buffer-monitor/gbp-buffer-monitor-buffer-addin.c
@@ -52,7 +52,8 @@ gbp_buffer_monitor_buffer_addin_check_for_change (GbpBufferMonitorBufferAddin *s
   g_assert (G_IS_FILE (file));
 
   info = g_file_query_info (file,
-                            G_FILE_ATTRIBUTE_TIME_MODIFIED,
+                            G_FILE_ATTRIBUTE_TIME_MODIFIED","
+                            G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC,
                             G_FILE_QUERY_INFO_NONE,
                             NULL,
                             NULL);
@@ -157,6 +158,7 @@ gbp_buffer_monitor_buffer_addin_setup_monitor (GbpBufferMonitorBufferAddin *self
 
       info = g_file_query_info (file,
                                 G_FILE_ATTRIBUTE_TIME_MODIFIED","
+                                G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC","
                                 G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE,
                                 G_FILE_QUERY_INFO_NONE,
                                 NULL,


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