Method

GLibDirref

since: 2.80

Declaration [src]

GDir*
g_dir_ref (
  GDir* dir
)

Description [src]

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 returned data, and is responsible for freeing it.