Method

GPluginManageradd_app_paths

Declaration [src]

void
gplugin_manager_add_app_paths (
  GPluginManager* manager,
  const char* prefix,
  const char* 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 char*

The installation prefix for the application.

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

Type: const char*

The name of the application whose paths to add.

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