[gnome-usage/tracker-powered-storage-view-wip: 103/103] storage: Fix segfault or critical error after delelete file
- From: Petr Štětka <pstetka src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-usage/tracker-powered-storage-view-wip: 103/103] storage: Fix segfault or critical error after delelete file
- Date: Tue, 2 Apr 2019 12:28:28 +0000 (UTC)
commit f1c22a88617fe6a0d1c47f97bb905e5e4e43cd3c
Author: Petr Štětka <pstetka redhat com>
Date: Tue Oct 9 15:15:54 2018 +0200
storage: Fix segfault or critical error after delelete file
Fix segfault crash or gnome critical error after delete some file and
then return up in the file hierarchy.
src/storage/storage-view.vala | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/storage/storage-view.vala b/src/storage/storage-view.vala
index 47e8832..95f1fb8 100644
--- a/src/storage/storage-view.vala
+++ b/src/storage/storage-view.vala
@@ -295,6 +295,7 @@ public class Usage.NewStorageView : Usage.View {
available_graph_item.custom_type = "available-graph";
available_graph_item.percentage = available_graph_item.size * 100 / (double) total_size;
model.append(available_graph_item);
+ graph.model = model;
}
private void refresh_actionbar() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]