Ggit.init();
- GLib.Timeout.add (500, () => {
+ GLib.Timeout.add (1, () => {
GLib.debug("Meanwhile");
- return false;
+ return true;
}, GLib.Priority.DEFAULT);
var loop = new MainLoop();
var a = new GitLive.Repo("/home/alan/gitlive/gitlive");
-
+ GLib.debug("Starting");
a.loadRemoteHeads.begin(true, (obj,res) => {
a.loadRemoteHeads.end(res);
- print("got results");
+ GLib.debug("got results");
a.loadLocalBranches();
loop.quit();
});