After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 695157 - libtracker-miner: add an async version of tracker_miner_manager_index_file()
libtracker-miner: add an async version of tracker_miner_manager_index_file()
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: General
unspecified
Other All
: Normal normal
: ---
Assigned To: tracker-general
Depends on:
Blocks:
 
 
Reported: 2013-03-04 22:03 UTC by Cosimo Cecchi
Modified: 2013-03-08 21:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
miner-manager: add an async version of tracker_miner_manager_index_file (8.13 KB, patch)
2013-03-04 22:03 UTC, Cosimo Cecchi
committed Details | Review

Description Cosimo Cecchi 2013-03-04 22:03:39 UTC
See attached patch.
Comment 1 Cosimo Cecchi 2013-03-04 22:03:40 UTC
Created attachment 238049 [details] [review]
miner-manager: add an async version of tracker_miner_manager_index_file

tracker_miner_manager_index_file is synchronous. This commit adds an
asynchronous and cancellable version of the same function.
Comment 2 Aleksander Morgado 2013-03-05 09:51:11 UTC
We'll need to either bump the GLib version requirement (currently GLIB_REQUIRED=2.28.0) or instead rework the patch to avoid GTask...
Comment 3 Martyn Russell 2013-03-05 20:42:28 UTC
Comment on attachment 238049 [details] [review]
miner-manager: add an async version of tracker_miner_manager_index_file

Thanks Cosimo, I've committed this with some small updates for the GLib bump...
Comment 4 Martyn Russell 2013-03-05 20:44:56 UTC
Aleksander, thanks for the heads up. I checked, looks like Ubuntu Raring and Fedora 19 are currently testing with 2.35.8, so we should be fine with the bump to 2.35.1 for GTask. Works here too.

This will be in Tracker 0.15.3 and 0.16.0 thanks again Cosimo.