rygel r610 - trunk/src/rygel



Author: zeeshanak
Date: Mon Feb 16 17:33:15 2009
New Revision: 610
URL: http://svn.gnome.org/viewvc/rygel?rev=610&view=rev

Log:
First param of signal is always the source object.

Modified:
   trunk/src/rygel/rygel-media-container.vala

Modified: trunk/src/rygel/rygel-media-container.vala
==============================================================================
--- trunk/src/rygel/rygel-media-container.vala	(original)
+++ trunk/src/rygel/rygel-media-container.vala	Mon Feb 16 17:33:15 2009
@@ -125,11 +125,13 @@
      * it to the parent, hoping someone will get it from the root container
      * and act upon it.
      *
-     * @param container the container that just got updated.
+     * @param container the container that emitted the signal
+     * @param updated_container the container that just got updated
      */
-    private void on_container_updated (MediaContainer container) {
+    private void on_container_updated (MediaContainer container,
+                                       MediaContainer updated_container) {
         if (this.parent != null) {
-            this.parent.container_updated (container);
+            this.parent.container_updated (updated_container);
         }
     }
 }



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