rygel r629 - trunk/src/rygel



Author: zeeshanak
Date: Thu Feb 19 17:18:03 2009
New Revision: 629
URL: http://svn.gnome.org/viewvc/rygel?rev=629&view=rev

Log:
No need to allow subclasses to override browse_cb.

If a subclass need to do that, it is better off implementing
ContentDirectory from scratch.

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	Thu Feb 19 17:18:03 2009
@@ -120,8 +120,8 @@
     }
 
     /* 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);



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