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 757369 - Add stubs for IndexFileForProcess
Add stubs for IndexFileForProcess
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: General
1.6.x
Other All
: Normal normal
: ---
Assigned To: tracker-general
tracker-general
Depends on:
Blocks:
 
 
Reported: 2015-10-30 15:06 UTC by Debarshi Ray
Modified: 2016-08-23 10:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
libtracker-control: Add convenience API for IndexFileForProcess (6.89 KB, patch)
2015-10-30 15:10 UTC, Debarshi Ray
none Details | Review
libtracker-control: Add convenience API for IndexFileForProcess (9.74 KB, patch)
2015-10-30 15:13 UTC, Debarshi Ray
none Details | Review
libtracker-control: Add convenience API for IndexFileForProcess (10.27 KB, patch)
2016-08-22 14:48 UTC, Debarshi Ray
none Details | Review
libtracker-control: Add convenience API for IndexFileForProcess (10.27 KB, patch)
2016-08-22 14:56 UTC, Debarshi Ray
committed Details | Review
Toy program to test tracker_miner_manager_index_file_for_process (785 bytes, text/plain)
2016-08-22 14:57 UTC, Debarshi Ray
  Details
Toy program to test tracker_miner_manager_index_file_for_process_async (1.31 KB, text/plain)
2016-08-22 14:58 UTC, Debarshi Ray
  Details

Description Debarshi Ray 2015-10-30 15:06:31 UTC
IndexFileForProcess was added in tracker-1.6 (bug 680834), but we are missing the convenience stub wrappers.
Comment 1 Debarshi Ray 2015-10-30 15:10:44 UTC
Created attachment 314494 [details] [review]
libtracker-control: Add convenience API for IndexFileForProcess
Comment 2 Debarshi Ray 2015-10-30 15:13:25 UTC
Created attachment 314495 [details] [review]
libtracker-control: Add convenience API for IndexFileForProcess

I forgot to 'git add' the header and the documentation.
Comment 3 Debarshi Ray 2016-08-22 14:48:43 UTC
Created attachment 333906 [details] [review]
libtracker-control: Add convenience API for IndexFileForProcess

Update the Since: tags and added some more g_return_* assertions. (I wonder why we don't use them more exhaustively in tracker. Maybe we should?)
Comment 4 Debarshi Ray 2016-08-22 14:56:41 UTC
Created attachment 333908 [details] [review]
libtracker-control: Add convenience API for IndexFileForProcess

Fixed a typo in one of the g_return_* lines.
Comment 5 Debarshi Ray 2016-08-22 14:57:31 UTC
Created attachment 333909 [details]
Toy program to test tracker_miner_manager_index_file_for_process
Comment 6 Debarshi Ray 2016-08-22 14:58:18 UTC
Created attachment 333911 [details]
Toy program to test tracker_miner_manager_index_file_for_process_async
Comment 7 Carlos Garnacho 2016-08-23 10:47:45 UTC
Thanks :), pushed with very minor tweaks

Attachment 333908 [details] pushed as 0ed879e - libtracker-control: Add convenience API for IndexFileForProcess