Method

AppStreamComposeResultupdate_component_gcid

Declaration [src]

gboolean
asc_result_update_component_gcid (
  AscResult* result,
  AsComponent* cpt,
  GBytes* bytes
)

Description [src]

Update the global component ID for the given component.

Parameters

cpt AsComponent
 

The AsComponent to edit.

 The data is owned by the caller of the function.
bytes GBytes
 

The data to include in the global component ID, or NULL.

 The argument can be NULL.
 The data is owned by the caller of the function.

Return value

Returns: gboolean
 

TRUE if the component existed and was updated.