No need to allow subclasses to override browse_cb.
authorZeeshan Ali (Khattak) <zeeshanak@src.gnome.org>
Thu, 19 Feb 2009 17:18:03 +0000 (17:18 +0000)
committerZeeshan Ali (Khattak) <zeeshanak@src.gnome.org>
Thu, 19 Feb 2009 17:18:03 +0000 (17:18 +0000)
If a subclass need to do that, it is better off implementing
ContentDirectory from scratch.

svn path=/trunk/; revision=629

src/rygel/rygel-content-directory.vala

index 221fa89..873a7b9 100644 (file)
@@ -120,8 +120,8 @@ public class Rygel.ContentDirectory: Service {
     }
 
     /* Browse action implementation */
-    protected virtual void browse_cb (ContentDirectory    content_dir,
-                                      owned ServiceAction action) {
+    private virtual void browse_cb (ContentDirectory    content_dir,
+                                    owned ServiceAction action) {
         Browse browse = new Browse (this, action);
 
         this.browses.add (browse);