Virtual Method

GioMountget_root

Declaration

GFile*
get_root (
  GMount* mount
)

Description

Gets the root directory on mount.

Return value

Type: GFile

A GFile. The returned object should be unreffed with g_object_unref() when no longer needed.

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