Method

GPluginManagerget_plugin_dependencies

Declaration [src]

GSList*
gplugin_manager_get_plugin_dependencies (
  GPluginManager* manager,
  GPluginPlugin* plugin,
  GError** error
)

Description [src]

Returns a list of all the GPluginPlugins that plugin depends on.

Parameters

plugin GPluginPlugin
 

The GPluginPlugin whose dependencies to get.

 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: A list of GPluginPlugin
 

A GSList of GPluginPlugins that plugin depends on, or NULL on error with error set. Call g_slist_free_full() with a DestroyNotify of g_object_unref() on the returned value when you’re done with it.

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