Method

GPluginManagerfind_plugin_with_newest_version

Declaration [src]

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

The ID of the plugin to find.

The data is owned by the caller of the function.
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 data, and is responsible for freeing it.