Constructor

GioCredentialsnew

since: 2.26

Declaration [src]

GCredentials*
g_credentials_new (
  void
)

Description [src]

Creates a new GCredentials object with credentials matching the the current process.

Available since: 2.26

Return value

Type: GCredentials

A GCredentials. Free with g_object_unref().

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