core: MediaContainer.find_object now internal
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Mon, 16 Nov 2009 17:15:31 +0000 (19:15 +0200)
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Mon, 16 Nov 2009 23:13:18 +0000 (01:13 +0200)
Plugins no longer need to provide implementation of this method. They
could override/implement search() instead if they need to.

src/rygel/rygel-media-container.vala

index a0c0de7..281c1e0 100644 (file)
@@ -83,9 +83,9 @@ public abstract class Rygel.MediaContainer : MediaObject {
     *
     * return the found media object.
     */
-    public async virtual MediaObject? find_object (string       id,
-                                                   Cancellable? cancellable)
-                                                   throws Error {
+    internal async MediaObject? find_object (string       id,
+                                             Cancellable? cancellable)
+                                             throws Error {
         var expression = new RelationalExpression ();
         expression.op = SearchCriteriaOp.EQ;
         expression.operand1 = "@id";