Method
GPluginManagerfind_plugin_with_filename
since: 0.44
Declaration [src]
GPluginPlugin*
gplugin_manager_find_plugin_with_filename (
GPluginManager* manager,
const char* filename
)
Description [src]
Finds a plugin with the given filename.
This method should be used sparingly as you should typically be using plugin id’s to identify them, however, sometimes it’s necessary to find them by filename.
Available since: 0.44
Parameters
filename
-
Type:
const char*
The filename of the plugin.
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 if found, otherwise NULL
.
The caller of the method takes ownership of the returned data, and is responsible for freeing it. |
The return value can be NULL . |