Function

PackageKitPackageid_to_printable

since: 0.5.2

Declaration [src]

gchar*
pk_package_id_to_printable (
  const gchar* package_id
)

Description [src]

Formats the PackageID to be printable to the user.

Available since: 0.5.2

Parameters

package_id

Type: const gchar*

The PackageID.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: gchar*

The name_version.arch formatted string, use g_free() to free.

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