[tracker/tracker-0.10] libtracker-miner, dbus: Add deprecation markers for IgnoreNextUpdate
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10] libtracker-miner, dbus: Add deprecation markers for IgnoreNextUpdate
- Date: Mon, 1 Aug 2011 16:19:11 +0000 (UTC)
commit 1e940ae917437f400a7dc5838c360bac9c762042
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 a6b521a..05e389e 100644
--- a/data/dbus/tracker-miner.xml
+++ b/data/dbus/tracker-miner.xml
@@ -27,6 +27,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 4d26138..d9b29fb 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -635,6 +635,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 da48801..ca1709f 100644
--- a/src/libtracker-miner/tracker-miner-manager.c
+++ b/src/libtracker-miner/tracker-miner-manager.c
@@ -1245,6 +1245,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]