[rygel] tracker: Method is called Get, not GetStatistics



commit f0b8ab57c179bd74c206150ccd9719aee166e4da
Author: Jens Georg <mail jensge org>
Date:   Tue Jun 21 14:50:54 2011 +0200

    tracker: Method is called Get, not GetStatistics

 src/plugins/tracker/rygel-tracker-interfaces.vala  |    2 +-
 .../tracker/rygel-tracker-plugin-factory.vala      |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/tracker/rygel-tracker-interfaces.vala b/src/plugins/tracker/rygel-tracker-interfaces.vala
index 975ce5d..bb34bd4 100644
--- a/src/plugins/tracker/rygel-tracker-interfaces.vala
+++ b/src/plugins/tracker/rygel-tracker-interfaces.vala
@@ -30,7 +30,7 @@ public struct Event {
 
 [DBus (name = "org.freedesktop.Tracker1.Statistics")]
 public interface Rygel.Tracker.StatsIface : DBusProxy {
-    public abstract string[,] get_statistics () throws DBusError;
+    public abstract string[,] get () throws DBusError;
 }
 
 [DBus (name = "org.freedesktop.Tracker1.Resources")]
diff --git a/src/plugins/tracker/rygel-tracker-plugin-factory.vala b/src/plugins/tracker/rygel-tracker-plugin-factory.vala
index 3bc40f3..d83b1d9 100644
--- a/src/plugins/tracker/rygel-tracker-plugin-factory.vala
+++ b/src/plugins/tracker/rygel-tracker-plugin-factory.vala
@@ -58,7 +58,7 @@ public class Rygel.Tracker.PluginFactory {
                                          DBusProxyFlags.DO_NOT_LOAD_PROPERTIES);
         this.loader = loader;
 
-        this.stats.get_statistics ();
+        this.stats.get ();
 
         this.loader.add_plugin (new Tracker.Plugin ());
     }



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