Method
GPluginManagerfind_plugin
Declaration [src]
GPluginPlugin*
gplugin_manager_find_plugin (
GPluginManager* manager,
const char* id
)
Description [src]
Finds the first plugin matching id.
This function uses gplugin_manager_find_plugins() and returns the
first plugin in the list.
Parameters
id-
Type:
const char*The ID of the plugin to find.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string.
Return value
Type: GPluginPlugin
A plugin instance or NULL if no plugin
matching id was found.
| The caller of the method takes ownership of the returned data, and is responsible for freeing it. |