[rygel] tests: Fix rygel-http-post-test



commit de8ca0191779d2aaf186c2c9067aec1fe3e537ce
Author: Jens Georg <mail jensge org>
Date:   Tue Sep 20 09:36:19 2011 +0200

    tests: Fix rygel-http-post-test
    
    Could segfault depending on the timing.

 tests/rygel-http-post-test.vala |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/tests/rygel-http-post-test.vala b/tests/rygel-http-post-test.vala
index 5cac2df..998204b 100644
--- a/tests/rygel-http-post-test.vala
+++ b/tests/rygel-http-post-test.vala
@@ -266,9 +266,6 @@ public class Rygel.MediaContainer : Rygel.MediaObject {
                                  FileMonitorEvent event_type) {
         this.container_updated (this);
     }
-
-    public void disconnect (ulong id) {
-    }
 }
 
 public class Rygel.MediaItem : Rygel.MediaObject {
@@ -359,7 +356,7 @@ public class Rygel.ItemRemovalQueue: GLib.Object {
     }
 }
 
-public class Rygel.MediaObject {}
+public class Rygel.MediaObject : GLib.Object {}
 
 public errordomain Rygel.ContentDirectoryError {
     INVALID_ARGS = 402



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