rygel r476 - trunk/src/plugins/tracker



Author: zeeshanak
Date: Tue Jan 20 11:21:38 2009
New Revision: 476
URL: http://svn.gnome.org/viewvc/rygel?rev=476&view=rev

Log:
Switch back to Tracker trunk API.

This reverts commit a450ef33135fff17a4701fee955dc6e371b74347.

Modified:
   trunk/src/plugins/tracker/rygel-tracker-container.vala

Modified: trunk/src/plugins/tracker/rygel-tracker-container.vala
==============================================================================
--- trunk/src/plugins/tracker/rygel-tracker-container.vala	(original)
+++ trunk/src/plugins/tracker/rygel-tracker-container.vala	Tue Jan 20 11:21:38 2009
@@ -31,9 +31,11 @@
 public class Rygel.TrackerContainer : MediaContainer {
     /* class-wide constants */
     private const string TRACKER_SERVICE = "org.freedesktop.Tracker";
-    private const string TRACKER_PATH = "/org/freedesktop/tracker";
+    private const string TRACKER_PATH = "/org/freedesktop/Tracker";
     private const string TRACKER_IFACE = "org.freedesktop.Tracker";
+    private const string FILES_PATH = "/org/freedesktop/Tracker/Files";
     private const string FILES_IFACE = "org.freedesktop.Tracker.Files";
+    private const string METADATA_PATH = "/org/freedesktop/Tracker/Metadata";
     private const string METADATA_IFACE = "org.freedesktop.Tracker.Metadata";
 
     public static dynamic DBus.Object metadata;
@@ -58,11 +60,11 @@
 
         TrackerContainer.metadata =
                     connection.get_object (TrackerContainer.TRACKER_SERVICE,
-                                           TrackerContainer.TRACKER_PATH,
+                                           TrackerContainer.METADATA_PATH,
                                            TrackerContainer.METADATA_IFACE);
         TrackerContainer.files =
                     connection.get_object (TrackerContainer.TRACKER_SERVICE,
-                                           TrackerContainer.TRACKER_PATH,
+                                           TrackerContainer.FILES_PATH,
                                            TrackerContainer.FILES_IFACE);
         TrackerContainer.tracker =
                     connection.get_object (TrackerContainer.TRACKER_SERVICE,



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