Method

GLibDirref

since: 2.80

Declaration

GDir*
g_dir_ref (
  GDir* dir
)

Description

Increment the reference count of dir.

Available since: 2.80

Return value

Type: GDir

The same pointer as dir

The caller of the method takes ownership of the data, and is responsible for freeing it.