[rygel] tests: Avoid deprecated += signal connection syntax



commit 193ca60688a8f47e93a2f76f28d9d20a7132e3a2
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Dec 6 14:52:48 2012 +0100

    tests: Avoid deprecated += signal connection syntax

 tests/rygel-http-response-test.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/rygel-http-response-test.vala b/tests/rygel-http-response-test.vala
index d9e0c35..c87fc2c 100644
--- a/tests/rygel-http-response-test.vala
+++ b/tests/rygel-http-response-test.vala
@@ -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);
         }
     }
 



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