rygel r544 - trunk/src/rygel



Author: zeeshanak
Date: Mon Feb  9 22:28:08 2009
New Revision: 544
URL: http://svn.gnome.org/viewvc/rygel?rev=544&view=rev

Log:
ContentDirectory doesn't need to implement find_object_by_id anymore.

Modified:
   trunk/src/rygel/rygel-content-directory.vala

Modified: trunk/src/rygel/rygel-content-directory.vala
==============================================================================
--- trunk/src/rygel/rygel-content-directory.vala	(original)
+++ trunk/src/rygel/rygel-content-directory.vala	Mon Feb  9 22:28:08 2009
@@ -103,19 +103,6 @@
         this.http_server.destroy ();
     }
 
-    public MediaObject find_object_by_id (string object_id) throws GLib.Error {
-        if (object_id == this.root_container.id) {
-            return this.root_container;
-        }
-
-        var media_object = this.root_container.find_object_by_id (object_id);
-        if (media_object == null) {
-            throw new ContentDirectoryError.NO_SUCH_OBJECT ("No such object");
-        }
-
-        return media_object;
-    }
-
     /* Browse action implementation */
     protected virtual void browse_cb (ContentDirectory    content_dir,
                                       owned ServiceAction action) {



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