[baobab] Remove unused information from the scanner
- From: Stefano Facchini <sfacchini src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [baobab] Remove unused information from the scanner
- Date: Fri, 12 Jun 2020 13:14:23 +0000 (UTC)
commit b9350218fde3a981a758dbfa40aceb636f2ba7fc
Author: Stefano Facchini <stefano facchini gmail com>
Date: Tue Jun 9 12:06:40 2020 +0200
Remove unused information from the scanner
src/baobab-scanner.vala | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/src/baobab-scanner.vala b/src/baobab-scanner.vala
index 5435793..d24e70e 100644
--- a/src/baobab-scanner.vala
+++ b/src/baobab-scanner.vala
@@ -38,14 +38,11 @@ namespace Baobab {
TIME_MODIFIED,
ELEMENTS,
STATE,
- ERROR,
COLUMNS
}
public enum State {
SCANNING,
- CANCELLED,
- NEED_PERCENT,
ERROR,
CHILD_ERROR,
DONE
@@ -353,8 +350,7 @@ namespace Baobab {
Columns.ALLOC_SIZE, results.alloc_size,
Columns.PERCENT, results.percent,
Columns.ELEMENTS, results.elements,
- Columns.STATE, state,
- Columns.ERROR, results.error);
+ Columns.STATE, state);
if (results.max_depth > max_depth) {
max_depth = results.max_depth;
@@ -465,8 +461,7 @@ namespace Baobab {
typeof (uint64), // ALLOC_SIZE
typeof (uint64), // TIME_MODIFIED
typeof (int), // ELEMENTS
- typeof (State), // STATE
- typeof (Error) // ERROR (if STATE is ERROR)
+ typeof (State) // STATE
});
excluded_locations = Application.get_default ().get_excluded_locations ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]