Method

GPluginManagerfind_plugin

Declaration [src]

GPluginPlugin*
gplugin_manager_find_plugin (
  GPluginManager* manager,
  const gchar* 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 const gchar*
 

The id of the plugin to find.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.

Return value

Returns: GPluginPlugin
 

A referenced GPluginPlugin instance or NULL if no plugin matching id was found.

 The caller of the method takes ownership of the data, and is responsible for freeing it.