Method
AppStreamComponentset_keywords
Declaration [src]
void
as_component_set_keywords (
AsComponent* cpt,
GPtrArray* new_keywords,
const gchar* locale,
gboolean deep_copy
)
Description [src]
Set keywords for this component, replacing all existing ones for the selected locale.
Sets property | AppStream.Component:keywords |
Parameters
new_keywords |
An array of utf8 |
Array of keywords. |
|
The data is owned by the caller of the function. | |
Each element is a NUL terminated UTF-8 string. | |
locale |
const gchar* |
BCP47 locale of the values, or |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
deep_copy |
gboolean |
Set to |