[gitg/vala] Call finish walk async callback in idle



commit e6b79289a4d97256353599f34c0c8935a6b17563
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date:   Sun Apr 22 18:41:39 2012 +0200

    Call finish walk async callback in idle

 libgitg/gitg-commit-model.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgitg/gitg-commit-model.vala b/libgitg/gitg-commit-model.vala
index 7019349..27bf1d3 100644
--- a/libgitg/gitg-commit-model.vala
+++ b/libgitg/gitg-commit-model.vala
@@ -280,7 +280,7 @@ public class CommitModel : Object
 
 			notify_batch(true);
 
-			cb();
+			Idle.add((owned)cb);
 			return null;
 		};
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]