From 1de86136118a4e36ca84f009476c9b1680020e17 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Sat, 23 Sep 2017 13:26:26 +0800 Subject: [PATCH] StatusIcon.vala --- StatusIcon.vala | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/StatusIcon.vala b/StatusIcon.vala index aa37ef0a..c8fc0074 100644 --- a/StatusIcon.vala +++ b/StatusIcon.vala @@ -313,11 +313,10 @@ public class StatusIconA : StatusIcon { //try { statusicon.set_tooltip_text("pull: " + repo.name); var str = ""; - repo.pull_async.begin((obj, syncres) => { + repo.pull_async((string res) => { - var res = fetch_webpage.end(syncres); total--;` - if (!Regex.match_simple ("Already up-to-date", str) ) { + if (!Regex.match_simple ("Already up-to-date", res) ) { str += str.length > 0 ? "\n" : ""; -- 2.39.2