Method
GPluginManagerfind_plugin_with_newest_version
Declaration [src]
GPluginPlugin*
gplugin_manager_find_plugin_with_newest_version (
GPluginManager* manager,
const char* id
)
Description [src]
Calls gplugin_manager_find_plugins()
with id
, and then returns the
plugins with the highest version number or NULL
if no plugins with id
are found.
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
The plugin with an ID of id
that has the highest
version number, or NULL
if no plugins were found with id
.
The caller of the method takes ownership of the returned data, and is responsible for freeing it. |