Method

AppStreamComponentBoxadd

Declaration [src]

gboolean
as_component_box_add (
  AsComponentBox* cbox,
  AsComponent* cpt,
  GError** error
)

Description [src]

Add a component to the box. Returns an error if we could not add it (most likely due to component box constraints).

Parameters

cpt AsComponent
  No description available.
 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE on success.