Method

AppStreamComponentadd_category

Declaration [src]

void
as_component_add_category (
  AsComponent* cpt,
  const gchar* category
)

Description [src]

Add a category.

Parameters

category

Type: const gchar*

The categories name to add.

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