Method

AppStreamComposeIconPolicyfrom_string

Declaration [src]

gboolean
asc_icon_policy_from_string (
  AscIconPolicy* ipolicy,
  const gchar* serialized_policy,
  GError** error
)

Description [src]

Loads the icon policy from a textual representation.

Parameters

serialized_policy const gchar*
 

A policy string as returned by %asc_icon_policy_to_string.

 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: gboolean
  No description available.