Function

Plumautils_uri_for_display

since: 1.0

Declaration [src]

gchar*
pluma_utils_uri_for_display (
  const gchar* uri
)

Description [src]

Filter, modify, unescape and change uri to make it appropriate for display to users.

This function is a convenient wrapper for g_file_get_parse_name.

Available since: 1.0

Parameters

uri

Type: const gchar*

Uri to be displayed.

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

Return value

Type: gchar*

A string which represents uri and can be displayed.

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.