[gitg] Fix for new remote callbacks API
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Fix for new remote callbacks API
- Date: Tue, 23 Dec 2014 17:02:51 +0000 (UTC)
commit 05fce7c77d90e7c5f092cb42cd678ad669ac7a25
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Tue Dec 23 18:02:15 2014 +0100
Fix for new remote callbacks API
libgitg/gitg-repository-list-box.vala | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libgitg/gitg-repository-list-box.vala b/libgitg/gitg-repository-list-box.vala
index 8dd5b33..393b29e 100644
--- a/libgitg/gitg-repository-list-box.vala
+++ b/libgitg/gitg-repository-list-box.vala
@@ -494,14 +494,13 @@ namespace Gitg
d_row = row;
}
- protected override bool transfer_progress(Ggit.TransferProgress stats) throws Error
+ protected override void transfer_progress(Ggit.TransferProgress stats)
{
var recvobj = stats.get_received_objects();
var indxobj = stats.get_indexed_objects();
var totaobj = stats.get_total_objects();
d_row.fraction = (recvobj + indxobj) / (double)(2 * totaobj);
- return true;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]