diff options
author | Ryan Lortie <desrt@desrt.ca> | 2015-01-15 15:39:43 -0500 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2015-03-20 12:01:34 -0400 |
commit | 9adf948a2b2215814bbc6b10e827349d05f2c883 (patch) | |
tree | b131be21cd802ee2ad47d33509ed9d38941396dd /gio/glocalfilemonitor.h | |
parent | 3d2d4b8efe44af1da7206b10e4565e59dbdb5121 (diff) |
GFileMonitorSource: return "interesting" value
Return an "interesting" boolean from the event handler function on
GFileMonitorSource.
An event was "interesting" if it will result in a signal actually being
dispatched to the user. It is "uninteresting" if it only hit an
already-dirty rate limiter.
We will use this information to do some backing off in the backends when
faced with a flood of uninteresting events.
Diffstat (limited to 'gio/glocalfilemonitor.h')
-rw-r--r-- | gio/glocalfilemonitor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/glocalfilemonitor.h b/gio/glocalfilemonitor.h index ced880fd6..1eacaf676 100644 --- a/gio/glocalfilemonitor.h +++ b/gio/glocalfilemonitor.h @@ -91,7 +91,7 @@ g_local_file_monitor_new_in_worker (const gchar *pathname, /* for implementations of GLocalFileMonitor */ GLIB_AVAILABLE_IN_2_44 -void +gboolean g_file_monitor_source_handle_event (GFileMonitorSource *fms, GFileMonitorEvent event_type, const gchar *child, |