Method

AppStreamProvidedhas_item

Declaration [src]

gboolean
as_provided_has_item (
  AsProvided* prov,
  const gchar* item
)

Description [src]

Check if the current AsProvided contains an item of the given name.

Parameters

item const gchar*
 

The name of a provided item, e.g. “audio/x-vorbis” (in case the provided kind is a mimetype)

 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 found.