Method

PeasPluginInfoload_resource

Declaration [src]

void
peas_plugin_info_load_resource (
  const PeasPluginInfo* info,
  const char* filename,
  GError** error
)

Description [src]

Loads the resource using peas_plugin_info_get_resource() and registers it. The resource’s lifetime will be automatically handled by info.

See peas_plugin_info_get_resource() for more information.

Parameters

filename const char*
 

The filename of the resource, or NULL.

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