Move provider plugins into a dedicated directory
Since we will introduce another type of plugin for the policy engine we want to have each plugin type in separate directories. We also have to adjust: - plugin search directories - po file location - update paths for calls-doc target
This commit is contained in:

committed by
Guido Günther

parent
8c6ece6a87
commit
86a8f3ae22
@@ -258,11 +258,14 @@ gint
|
||||
main (gint argc,
|
||||
gchar *argv[])
|
||||
{
|
||||
g_autofree char *plugin_dir_provider = NULL;
|
||||
|
||||
gtk_test_init (&argc, &argv, NULL);
|
||||
|
||||
/* Add builddir as search path */
|
||||
#ifdef PLUGIN_BUILDDIR
|
||||
peas_engine_add_search_path (peas_engine_get_default (), PLUGIN_BUILDDIR, NULL);
|
||||
plugin_dir_provider = g_build_filename (PLUGIN_BUILDDIR, "provider", NULL);
|
||||
peas_engine_add_search_path (peas_engine_get_default (), plugin_dir_provider, NULL);
|
||||
#endif
|
||||
|
||||
g_test_add_func("/Calls/Manager/without_provider", test_calls_manager_without_provider);
|
||||
|
@@ -46,11 +46,14 @@ gint
|
||||
main (gint argc,
|
||||
gchar *argv[])
|
||||
{
|
||||
g_autofree char *plugin_dir_provider = NULL;
|
||||
|
||||
gtk_test_init (&argc, &argv, NULL);
|
||||
|
||||
/* Add builddir as search path */
|
||||
#ifdef PLUGIN_BUILDDIR
|
||||
peas_engine_add_search_path (peas_engine_get_default (), PLUGIN_BUILDDIR, NULL);
|
||||
plugin_dir_provider = g_build_filename (PLUGIN_BUILDDIR, "provider", NULL);
|
||||
peas_engine_add_search_path (peas_engine_get_default (), plugin_dir_provider, NULL);
|
||||
#endif
|
||||
|
||||
g_test_add_func("/Calls/Plugins/load_plugins", test_calls_plugin_loading);
|
||||
|
Reference in New Issue
Block a user