Method

GPluginManageradd_app_paths

Declaration [src]

void
gplugin_manager_add_app_paths (
  GPluginManager* manager,
  const gchar* prefix,
  const gchar* appname
)

Description [src]

Adds the application installation path for appname.

This will add {prefix}/{appname}/plugins to the list as well as ${XDG_CONFIG_HOME}/{appname}/plugins.

Parameters

prefix

Type: const gchar*

The installation prefix for the application.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
appname

Type: const gchar*

The name of the application whose paths to add.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.