[tracker/writeback-refactor-rebase: 42/65] libtracker-miner, dbus: Add deprecation markers for IgnoreNextUpdate



commit ef20e450ef7a113fa0d83a0bf96dfeab1e626164
Author: Philip Van Hoof <philip codeminded be>
Date:   Tue Jul 26 10:46:41 2011 +0200

    libtracker-miner, dbus: Add deprecation markers for IgnoreNextUpdate

 data/dbus/tracker-miner.xml                  |    1 +
 src/libtracker-miner/tracker-miner-fs.c      |    1 +
 src/libtracker-miner/tracker-miner-fs.h      |    2 +-
 src/libtracker-miner/tracker-miner-manager.c |    1 +
 4 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/data/dbus/tracker-miner.xml b/data/dbus/tracker-miner.xml
index 901943f..f025611 100644
--- a/data/dbus/tracker-miner.xml
+++ b/data/dbus/tracker-miner.xml
@@ -31,6 +31,7 @@
       <arg type="i" name="cookie" direction="in" />
     </method>
 
+    <!-- Deprecated since 0.11 -->
     <method name="IgnoreNextUpdate">
       <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
       <arg type="as" name="urls" direction="in" />
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index e6ef882..b78a7b5 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -634,6 +634,7 @@ tracker_miner_fs_class_init (TrackerMinerFSClass *klass)
 	 *          %FALSE on failure
 	 *
 	 * Since: 0.8
+	 * Deprecated since: 0.11
 	 **/
 	signals[IGNORE_NEXT_UPDATE_FILE] =
 		g_signal_new ("ignore-next-update-file",
diff --git a/src/libtracker-miner/tracker-miner-fs.h b/src/libtracker-miner/tracker-miner-fs.h
index bf74efc..72c606b 100644
--- a/src/libtracker-miner/tracker-miner-fs.h
+++ b/src/libtracker-miner/tracker-miner-fs.h
@@ -67,7 +67,7 @@ struct _TrackerMinerFS {
  * @process_file: Called when the metadata associated to a file is
  * requested.
  * @ignore_next_update_file: Called after a writeback event happens on
- * a file.
+ * a file (deprecated).
  * @monitor_directory: Called to check whether a directory should be
  * modified.
  * @finished: Called when all processing has been performed.
diff --git a/src/libtracker-miner/tracker-miner-manager.c b/src/libtracker-miner/tracker-miner-manager.c
index 7b2e863..49baf3d 100644
--- a/src/libtracker-miner/tracker-miner-manager.c
+++ b/src/libtracker-miner/tracker-miner-manager.c
@@ -1277,6 +1277,7 @@ tracker_miner_manager_get_description (TrackerMinerManager *manager,
  * Returns: %TRUE on success, otherwise %FALSE.
  *
  * Since: 0.8
+ * Deprecated since 0.11
  **/
 gboolean
 tracker_miner_manager_ignore_next_update (TrackerMinerManager *manager,



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