Commit b6592a0b authored by Sam Thursfield's avatar Sam Thursfield

Merge branch 'azzaronea/tracker-fix-issue-71' into HEAD

See: !53
parents 082aec36 63c0a5d4
Pipeline #53787 passed with stage
in 2 minutes and 6 seconds
......@@ -614,13 +614,15 @@ flush_cached_event (TrackerMonitor *monitor,
GFile *file,
gboolean is_directory)
GFileMonitorEvent prev_event_type;
gpointer value = NULL;
TrackerMonitorPrivate *priv;
priv = tracker_monitor_get_instance_private (monitor);
if (g_hash_table_lookup_extended (priv->cached_events,
file, NULL, (gpointer*) &prev_event_type)) {
file, NULL, &value)) {
GFileMonitorEvent prev_event_type = GPOINTER_TO_UINT (value);
g_hash_table_remove (priv->cached_events, file);
emit_signal_for_event (monitor, prev_event_type,
is_directory, file, NULL);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment