[baobab/wip/vala] Actually instanciate the cancellable.
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [baobab/wip/vala] Actually instanciate the cancellable.
- Date: Fri, 27 Jan 2012 17:50:19 +0000 (UTC)
commit ac6c87f2f54851fced5ba34f462bebd39d9001ec
Author: Paolo Borelli <pborelli gnome org>
Date: Fri Jan 27 18:49:10 2012 +0100
Actually instanciate the cancellable.
src/baobab-scanner.vala | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/baobab-scanner.vala b/src/baobab-scanner.vala
index 155465c..f09a3d3 100644
--- a/src/baobab-scanner.vala
+++ b/src/baobab-scanner.vala
@@ -29,7 +29,7 @@ namespace Baobab {
}
protected HashTable<File, unowned File> excluded_locations;
- protected Cancellable? cancellable;
+ protected Cancellable cancellable;
protected HardLink[] hardlinks;
protected static const string ATTRIBUTES =
@@ -57,6 +57,7 @@ namespace Baobab {
public Scanner (File directory) {
this.directory = directory;
+ cancellable = new Cancellable();
set_column_types (new Type[] {
typeof (string), // DIR_NAME
typeof (string), // PARSE_NAME
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]