[rygel] core: AsyncReadyCallback.source_object is nullable



commit 1c7eb887c52505a65252636e540c7cd34695410e
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Sat Sep 19 19:43:58 2009 +0300

    core: AsyncReadyCallback.source_object is nullable
    
    source_object param of AsyncReadyCallback is now nullable.

 src/rygel/rygel-media-object-search.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/rygel/rygel-media-object-search.vala b/src/rygel/rygel-media-object-search.vala
index 211412d..460dc12 100644
--- a/src/rygel/rygel-media-object-search.vala
+++ b/src/rygel/rygel-media-object-search.vala
@@ -62,7 +62,7 @@ internal class Rygel.MediaObjectSearch<G> : GLib.Object, Rygel.StateMachine {
         }
     }
 
-    private void on_object_found (Object      source_object,
+    private void on_object_found (Object?     source_object,
                                   AsyncResult res) {
         try {
             var container = source_object as MediaContainer;



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