Method

AppStreamComponentadd_icon

Declaration [src]

void
as_component_add_icon (
  AsComponent* cpt,
  AsIcon* icon
)

Description [src]

Add an icon to this component.

Parameters

icon

Type: AsIcon

The valid AsIcon instance to add.

The data is owned by the caller of the method.