Method

AppStreamComponentadd_category

Declaration [src]

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

Description [src]

Add a category.

Parameters

category const gchar*
 

The categories name to add.

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