[Tracker] TrackerMiner and TrackerMinerWeb are now initable



Hi all,

Since 0.9.37, the TrackerMiner and TrackerMinerWeb objects (in
libtracker-miner) implement the GInitable interface (see
http://library.gnome.org/devel/gio/unstable/GInitable.html). The
initable interface allows the creation of GObjects with proper
propagation of errors that may happen during initialization.

Make sure you consider this when developing new miners based on those
objects.

For examples on how to do that, see:
  $(TRACKER_SOURCES)/src/miners/fs/tracker-miner-files.c
or
  $(TRACKER_SOURCES)/src/miners/flickr/tracker-miner-flickr.vala

Cheers,

-- 
Aleksander




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