mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-08-27 20:09:23 +00:00
Use GgitFileMode instead of POSIX
This commit is contained in:
parent
6de7863af4
commit
9ac488a5dd
|
@ -121,7 +121,7 @@ public class TreeStore : Gtk.TreeStore
|
|||
{
|
||||
d_tree.walk((root, entry) => {
|
||||
var attr = entry.get_file_mode();
|
||||
var isdir = Posix.S_ISDIR(attr);
|
||||
var isdir = attr == Ggit.FileMode.TREE;
|
||||
|
||||
Gtk.TreeIter? parent = null;
|
||||
|
||||
|
|
Loading…
Reference in a new issue