[baobab/wip/vala: 26/41] threaded scanner: report toplevel results
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [baobab/wip/vala: 26/41] threaded scanner: report toplevel results
- Date: Sun, 8 Jan 2012 20:28:41 +0000 (UTC)
commit 0bac5e568d5f21cc49ef1a9888a14016987ed261
Author: Ryan Lortie <desrt desrt ca>
Date: Thu Jan 5 21:24:43 2012 -0500
threaded scanner: report toplevel results
src/baobab-threaded-scanner.vala | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/baobab-threaded-scanner.vala b/src/baobab-threaded-scanner.vala
index 07e4b96..2018923 100644
--- a/src/baobab-threaded-scanner.vala
+++ b/src/baobab-threaded-scanner.vala
@@ -156,13 +156,13 @@ namespace Baobab {
void* scan_in_thread () {
try {
var array = new ResultsArray ();
-
var info = directory.query_info (ATTRIBUTES, 0, cancellable);
var results = add_directory (directory, info);
results.percent = 100.0;
array.results += (owned) results;
- //max_depth = results.max_depth;
- } catch { }
+ results_queue.push ((owned) array);
+ } catch {
+ }
// drop the thread's reference on the Scanner object
this.self = null;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]