diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2014-02-12 12:31:47 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2014-02-12 12:31:47 +0100 |
commit | 94a0978cf757b36db77642b698e6bc8660545c45 (patch) | |
tree | e550354b4276749fc1d3dd2d45c74ac2a400d2f3 /src/uca-plugin-manager.c | |
parent | 7b00070d5621acdb4dfbee5840bd8babb1e7073f (diff) | |
download | libuca-94a0978cf757b36db77642b698e6bc8660545c45.tar.gz libuca-94a0978cf757b36db77642b698e6bc8660545c45.tar.bz2 libuca-94a0978cf757b36db77642b698e6bc8660545c45.tar.xz libuca-94a0978cf757b36db77642b698e6bc8660545c45.zip |
Add configured install path to plugin search path
Diffstat (limited to 'src/uca-plugin-manager.c')
-rw-r--r-- | src/uca-plugin-manager.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/uca-plugin-manager.c b/src/uca-plugin-manager.c index 7cb65b4..9db932a 100644 --- a/src/uca-plugin-manager.c +++ b/src/uca-plugin-manager.c @@ -35,6 +35,7 @@ #include <gio/gio.h> #include <gmodule.h> #include "uca-plugin-manager.h" +#include "config.h" G_DEFINE_TYPE (UcaPluginManager, uca_plugin_manager, G_TYPE_OBJECT) @@ -397,8 +398,5 @@ uca_plugin_manager_init (UcaPluginManager *manager) if (uca_camera_path != NULL) uca_plugin_manager_add_path (manager, uca_camera_path); - uca_plugin_manager_add_path (manager, "/usr/lib/uca"); - uca_plugin_manager_add_path (manager, "/usr/lib64/uca"); - uca_plugin_manager_add_path (manager, "/usr/local/lib/uca"); - uca_plugin_manager_add_path (manager, "/usr/local/lib64/uca"); + uca_plugin_manager_add_path (manager, UCA_PLUGINDIR); } |