[Tracker] Unwatching E-mail service paths



Hi there hackers around the world!

This patch adds stopping watching E-mail service paths.

It also fixes a potential memory leak with the service_directory_table
hashtable and it makes the service_directory_list not depend on the key
string pointers of the hashtable any longer (so that the hashtable can
securely clean itself up, without having to worry about another GSList
structure depending on its key data).

In the tracker-email-modest.c file you'll see how I want to use this new
API as soon as it's available. That file's handling is unfinished
because I still have to codify detecting with of the E-mail paths are
dynamic, detecting the availability of a new dynamic path and I have to
code marking items in a dynamic path as temporarily unavailable as soon
as the dynamic path becomes unavailable.

Dynamic paths will be for example Maildirs on MMC cards.

Please review and let me know if I can commit.


-- 
Philip Van Hoof, freelance software developer
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
http://pvanhoof.be/blog
http://codeminded.be

Attachment: tracker_unwatching_service_paths-01.diff
Description: Text Data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]