Method
ValentContextget_plugin_context
unstable since: 1.0
Declaration [src]
ValentContext*
valent_context_get_plugin_context (
ValentContext* context,
PeasPluginInfo* plugin_info
)
Description [src]
Create a new ValentContext
for a plugin.
If given, domain
should be an identifier describing the scope of the
contexts that will share it.
If given, id
should be an identifier that is at least unique to domain
,
even if domain
is NULL
.
Available since: 1.0
Parameters
plugin_info
-
Type:
PeasPluginInfo
A
PeasPluginInfo
.The data is owned by the caller of the method.
Return value
Type: ValentContext
A new ValentContext
.
The caller of the method takes ownership of the returned data, and is responsible for freeing it. |