Method

AppStreamComposeResulthas_hint

Declaration [src]

gboolean
asc_result_has_hint (
  AscResult* result,
  AsComponent* cpt,
  const gchar* tag
)

Description [src]

Test if a hint tag is associated with a given component in this result.

Parameters

cpt AsComponent
 

The AsComponent to check.

 The data is owned by the caller of the function.
tag const gchar*
 

The hint tag to check for.

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

Return value

Returns: gboolean
 

TRUE if a hint with this tag exists for the selected component.