[tracker/miner-fs-dbus-api: 6/22] Rename IndexFiles DBus method to IndexFile



commit 0b13933f513b369bbf6f7c243d27058240903e42
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu Aug 19 15:20:15 2010 +0200

    Rename IndexFiles DBus method to IndexFile
    
    A single parameter is passed, so plural doesn't make sense here.

 data/dbus/tracker-miner-files-index.xml      |    2 +-
 src/libtracker-miner/tracker-miner-manager.c |    2 +-
 src/miners/fs/tracker-miner-files-index.c    |    8 ++++----
 src/miners/fs/tracker-miner-files-index.h    |    2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/data/dbus/tracker-miner-files-index.xml b/data/dbus/tracker-miner-files-index.xml
index cc024e0..afe3364 100644
--- a/data/dbus/tracker-miner-files-index.xml
+++ b/data/dbus/tracker-miner-files-index.xml
@@ -6,7 +6,7 @@
       <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
       <arg type="as" name="mime_types" direction="in" />
     </method>
-    <method name="IndexFiles">
+    <method name="IndexFile">
       <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
       <arg type="s" name="file_uri" direction="in" />
     </method>
diff --git a/src/libtracker-miner/tracker-miner-manager.c b/src/libtracker-miner/tracker-miner-manager.c
index c8f00a3..06f7162 100644
--- a/src/libtracker-miner/tracker-miner-manager.c
+++ b/src/libtracker-miner/tracker-miner-manager.c
@@ -1004,6 +1004,6 @@ tracker_miner_manager_index_file (TrackerMinerManager  *manager,
 	}
 
 	uri = g_file_get_uri (file);
-	org_freedesktop_Tracker1_Miner_Files_Index_index_files (proxy, uri, error);
+	org_freedesktop_Tracker1_Miner_Files_Index_index_file (proxy, uri, error);
 	g_free (uri);
 }
diff --git a/src/miners/fs/tracker-miner-files-index.c b/src/miners/fs/tracker-miner-files-index.c
index 77af08f..5d25eae 100644
--- a/src/miners/fs/tracker-miner-files-index.c
+++ b/src/miners/fs/tracker-miner-files-index.c
@@ -279,10 +279,10 @@ tracker_miner_files_index_reindex_mime_types (TrackerMinerFilesIndex  *object,
 }
 
 void
-tracker_miner_files_index_index_files (TrackerMinerFilesIndex    *object,
-                                       gchar                     *file_uri,
-                                       DBusGMethodInvocation     *context,
-                                       GError                   **error)
+tracker_miner_files_index_index_file (TrackerMinerFilesIndex    *object,
+                                      gchar                     *file_uri,
+                                      DBusGMethodInvocation     *context,
+                                      GError                   **error)
 {
 	TrackerMinerFilesIndexPrivate *priv;
 	TrackerConfig *config;
diff --git a/src/miners/fs/tracker-miner-files-index.h b/src/miners/fs/tracker-miner-files-index.h
index 94309d4..303c8d4 100644
--- a/src/miners/fs/tracker-miner-files-index.h
+++ b/src/miners/fs/tracker-miner-files-index.h
@@ -55,7 +55,7 @@ void                      tracker_miner_files_index_reindex_mime_types (TrackerM
 	                                                                DBusGMethodInvocation     *context,
                                                                         GError                   **error);
 
-void                      tracker_miner_files_index_index_files        (TrackerMinerFilesIndex    *object,
+void                      tracker_miner_files_index_index_file         (TrackerMinerFilesIndex    *object,
 	                                                                gchar                     *file_uri,
 	                                                                DBusGMethodInvocation     *context,
 	                                                                GError                   **error);



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