Commit acbb1d95 authored by Carlos Garnacho's avatar Carlos Garnacho

libtracker-miner: Pass a builder in UPDATE state to ::remove-file

A stateless TrackerSparqlBuilder is not that useful, because there's
no API to push the desired state. A TrackerSparqlBuilder created
through tracker_sparql_builder_new_update() will allow us to
open delete and insert statements, which is what we want here.
parent bd1d178a
......@@ -1641,7 +1641,7 @@ item_remove (TrackerMinerFS *fs,
#endif
}
builder = tracker_sparql_builder_new ();
builder = tracker_sparql_builder_new_update ();
g_signal_emit (fs, signals[REMOVE_FILE], 0,
file, only_children, builder, &delete_handled);
......
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