unref
Decrements the reference count of dir
.
Once the reference count reaches zero, the directory will be closed and all resources associated with it will be freed. If method@GLib.Dir.close is called when the reference count is greater than zero, the directory is closed but the GDir
structure will not be freed until its reference count reaches zero.
It is an error to call any of the GDir
methods other than method@GLib.Dir.ref and method@GLib.Dir.unref on a GDir
after calling method@GLib.Dir.close on it.
Since
2.80