From 4b4b8edfd3305b43bcf2e22a79bf8932960ae141 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 1 May 2014 22:38:55 +0800 Subject: [PATCH] Monitor.vala --- Monitor.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Monitor.vala b/Monitor.vala index 06ef34ae..2a095396 100644 --- a/Monitor.vala +++ b/Monitor.vala @@ -87,7 +87,7 @@ public class Monitor : Object */ public void start() { - for(int i = 0; i < this.monitors.size ; i++) { + for(int i = 0; i < this.monitors.length ; i++) { this.monitor(this.top[i], ( fm, f_orig, of_orig, event_type) => { this.onEvent (fm, f_orig, of_orig, event_type ) ; } ); @@ -100,7 +100,7 @@ public class Monitor : Object public void stop() { - for(int i = 0; i < this.monitors.size ; i++) { + for(int i = 0; i < this.monitors.length ; i++) { this.monitors[i].cancel(); } this.monitors = new Array(); // clean /destroy/ kill old? -- 2.39.2