tests: Avoid deprecated += signal connection syntax
authorMurray Cumming <murrayc@murrayc.com>
Thu, 6 Dec 2012 13:52:48 +0000 (14:52 +0100)
committerMurray Cumming <murrayc@murrayc.com>
Thu, 6 Dec 2012 13:52:48 +0000 (14:52 +0100)
tests/rygel-http-response-test.vala

index d9e0c35..c87fc2c 100644 (file)
@@ -239,7 +239,7 @@ public class Rygel.HTTPClient : GLib.Object, StateMachine {
 
         if (active) {
             this.cancellable = new Cancellable ();
-            this.cancellable.cancelled += this.on_cancelled;
+            this.cancellable.cancelled.connect (this.on_cancelled);
         }
     }