[gnome-software] trivial: Don't add the same plugindir twice
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Don't add the same plugindir twice
- Date: Fri, 14 Apr 2017 15:31:59 +0000 (UTC)
commit 6e64c80c32063d43b318577fead4ff7b5bf10547
Author: Richard Hughes <richard hughsie com>
Date: Fri Apr 14 16:22:11 2017 +0100
trivial: Don't add the same plugindir twice
plugins/core/gs-self-test.c | 1 -
plugins/core/meson.build | 1 -
2 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/plugins/core/gs-self-test.c b/plugins/core/gs-self-test.c
index d69588b..887849d 100644
--- a/plugins/core/gs-self-test.c
+++ b/plugins/core/gs-self-test.c
@@ -122,7 +122,6 @@ main (int argc, char **argv)
/* we can only load this once per process */
plugin_loader = gs_plugin_loader_new ();
gs_plugin_loader_add_location (plugin_loader, LOCALPLUGINDIR);
- gs_plugin_loader_add_location (plugin_loader, LOCALPLUGINDIR_CORE);
ret = gs_plugin_loader_setup (plugin_loader,
(gchar**) whitelist,
NULL,
diff --git a/plugins/core/meson.build b/plugins/core/meson.build
index 9a989fd..584322a 100644
--- a/plugins/core/meson.build
+++ b/plugins/core/meson.build
@@ -156,7 +156,6 @@ shared_module(
if get_option('enable-tests')
cargs += ['-DLOCALPLUGINDIR="' + meson.current_build_dir() + '"']
- cargs += ['-DLOCALPLUGINDIR_CORE="' + meson.current_build_dir() + '/../core"']
cargs += ['-DTESTDATADIR="' + join_paths(meson.current_build_dir(), 'tests') + '"']
e = executable('gs-self-test-core',
sources : [
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]