Constructor

AppStreamComposeHintnew_for_tag

Declaration [src]

AscHint*
asc_hint_new_for_tag (
  const gchar* tag,
  GError** error
)

Description [src]

Creates a new AscHint with the given tag. If the selected tag was not registered+ with the global tag registry, NULL is returned and an error is set.

Parameters

tag const gchar*
 

The tag ID to construct this hint for.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: AscHint
  No description available.
 The caller of the function takes ownership of the data, and is responsible for freeing it.