Method

AppStreamComponentadd_url

Declaration [src]

void
as_component_add_url (
  AsComponent* cpt,
  AsUrlKind url_kind,
  const gchar* url
)

Description [src]

Adds some URL data to the component.

Available since:0.6.2

Parameters

url_kind AsUrlKind
 

The URL kind, e.g. AS_URL_KIND_HOMEPAGE.

url const gchar*
 

The full URL.

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