Method

AppStreamComponentget_url

Declaration [src]

const gchar*
as_component_get_url (
  AsComponent* cpt,
  AsUrlKind url_kind
)

Description [src]

Gets a URL.

Available since:0.6.2

Parameters

url_kind AsUrlKind
 

The URL kind, e.g. AS_URL_KIND_HOMEPAGE.

Return value

Returns: const gchar*
 

String, or NULL if unset.

 The data is owned by the instance.
 The return value can be NULL.
 The value is a NUL terminated UTF-8 string.