test: Update for new ClientHacks
authorJens Georg <mail@jensge.org>
Wed, 19 Oct 2011 07:53:12 +0000 (09:53 +0200)
committerJens Georg <mail@jensge.org>
Wed, 19 Oct 2011 07:53:12 +0000 (09:53 +0200)
tests/rygel-http-get-test.vala

index ea4ff63..3332305 100644 (file)
@@ -29,13 +29,13 @@ public errordomain Rygel.TestError {
     TIMEOUT
 }
 
-public errordomain Rygel.XBoxHacksError {
+public errordomain Rygel.ClientHacksError {
     NA
 }
 
-public class Rygel.XBoxHacks {
-    public XBoxHacks.for_headers (MessageHeaders headers) throws Error {
-        throw new XBoxHacksError.NA ("");
+public class Rygel.ClientHacks {
+    public static ClientHacks create_for_headers (MessageHeaders headers) throws Error {
+        throw new ClientHacksError.NA ("");
     }
 
     public bool is_album_art_request (Message message) {