tests: Fix rygel-http-post-test
authorJens Georg <mail@jensge.org>
Tue, 20 Sep 2011 07:36:19 +0000 (09:36 +0200)
committerJens Georg <mail@jensge.org>
Tue, 20 Sep 2011 07:36:59 +0000 (09:36 +0200)
Could segfault depending on the timing.

tests/rygel-http-post-test.vala

index 5cac2df..998204b 100644 (file)
@@ -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