Method

GPluginLoaderunload_plugin

Declaration [src]

gboolean
gplugin_loader_unload_plugin (
  GPluginLoader* loader,
  GPluginPlugin* plugin,
  gboolean shutdown,
  GError** error
)

Description [src]

This function is called by the plugin manager to ask loader to unload plugin.

Parameters

plugin GPluginPlugin
 

The plugin instance to unload.

 The data is owned by the caller of the function.
shutdown gboolean
 

Whether or not GPlugin is shutting down.

error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE if plugin was unloaded successfully, FALSE otherwise.