[tracker/writeback-refactor-0.10: 41/64] libtracker-miner, dbus: Add deprecation markers for IgnoreNextUpdate
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/writeback-refactor-0.10: 41/64] libtracker-miner, dbus: Add deprecation markers for IgnoreNextUpdate
- Date: Thu, 28 Jul 2011 15:38:53 +0000 (UTC)
commit e4ecbc94dba9e809bf4a97a1cda64a25725b7840
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 338c81d..dd0fa4a 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]