Method

GioDriveget_name

Declaration

char*
g_drive_get_name (
  GDrive* drive
)

Description

Gets the name of drive.

Return value

Returns: utf8
 

A string containing drives name. The returned string should be freed when no longer needed.

 The caller of the method takes ownership of the data, and is responsible for freeing it.
 The string is a NUL terminated UTF-8 string.