X-Git-Url: http://git.roojs.org/?p=gitlive;a=blobdiff_plain;f=GitMonitorQueue.vala;h=ff3bd286a6cac78d3c62a73a7c527c0ba9aec41e;hp=1988d4f83c4972cdd5cf5b074299a71731f5b8f1;hb=refs%2Fheads%2Fwip_alan_T5782_messing_around_with_libgit2glib;hpb=f93028e569039b48af6351e2d37f80d15d94ff5a diff --git a/GitMonitorQueue.vala b/GitMonitorQueue.vala index 1988d4f8..ff3bd286 100644 --- a/GitMonitorQueue.vala +++ b/GitMonitorQueue.vala @@ -41,7 +41,7 @@ public class GitMonitorQueue : MonitorNamePathDir { this.vname = this.vdir + (this.vdir.length > 0 ? "/" : "") + this.name; - this.repo = GitRepo.get(this.gitpath); + this.repo = GitRepo.get_sync(this.gitpath); // trigger the suggestion to start a new branch @@ -119,8 +119,8 @@ public class GitMonitorQueue : MonitorNamePathDir { } public static string messageToString(Gee.ArrayList messages ) { string[] ret = {}; - for(var i =0; i < messages.length; i++) { - ret+= messages.index(i).message; + for(var i =0; i < messages.size; i++) { + ret+= messages.get(i).message; } return string.joinv("\n",ret); }