Skip to content

Commit f5bdf4c

Browse files
authored
Remove unused update_model method from OpenFilesTreeViewModel (#467)
1 parent 3aa4b0a commit f5bdf4c

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/Models/OpenFilesTreeViewModel.vala

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -51,22 +51,4 @@ public class Monitor.OpenFilesTreeViewModel : Gtk.TreeStore {
5151
return false;
5252
}
5353

54-
public void update_model (Process process) {
55-
if (process.open_files_paths.size > 0) {
56-
foreach (var path in process.open_files_paths) {
57-
58-
// print("sdsd");
59-
// Gtk.TreeIter iter = open_files_paths[path];
60-
print (path);
61-
//// display only real paths
62-
//// probably should be done in process class
63-
// if (path.substring (0, 1) == "/") {
64-
// set (iter,
65-
// Column.NAME, path,
66-
// -1);
67-
// }
68-
}
69-
}
70-
}
71-
7254
}

0 commit comments

Comments
 (0)