Method

PeasEngineprepend_search_path

Declaration [src]

void
peas_engine_prepend_search_path (
  PeasEngine* engine,
  const gchar* module_dir,
  const gchar* data_dir
)

Description [src]

Prepends a search path to the list of paths where to look for plugins.

See Also: peas_engine_add_search_path()

Available since:1.6

Parameters

module_dir const gchar*
 

The plugin module directory.

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

The plugin data directory.

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