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/pluginsto the list as well as${XDG_CONFIG_HOME}/appname/plugins`.

Parameters

prefix const gchar*
 

The installation prefix for the application.

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

The name of the application whose paths to add.

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