Cleanup babeltrace-cfg, use BABELTRACE_PLUGIN_PATH
[babeltrace.git] / converter / default-cfg.c
index b4cd7051b9f7105c2ad06092d29ba7b641f10dd0..5368c7a0affb0bc531aaa8fbab48cc2a096835e4 100644 (file)
@@ -27,6 +27,7 @@
  */
 
 #include <babeltrace/values.h>
+#include "babeltrace-cfg.h"
 #include "default-cfg.h"
 #include "config.h"
 
@@ -38,8 +39,8 @@ int set_default_config(struct bt_config *cfg)
 
        cfg->omit_system_plugin_path = true;
        cfg->omit_home_plugin_path = true;
-       ret = bt_value_array_append_string(cfg->plugin_paths,
-                       CONFIG_IN_TREE_PLUGIN_DIR);
+       ret = bt_config_append_plugin_paths(cfg->plugin_paths,
+               CONFIG_IN_TREE_PLUGIN_PATH);
        return ret;
 }
 
This page took 0.02501 seconds and 4 git commands to generate.