[libpeas] Don't rescan for plugins in the tests



commit b71ad5937a824188948a0d9645fd8fc622ca531e
Author: Garrett Regier <alias301 gmail com>
Date:   Sun Feb 6 03:29:47 2011 -0800

    Don't rescan for plugins in the tests
    
    When a search path is added it is automatically scanned,
    thus this was causing them to be scanned twice.

 tests/libpeas-gtk/testing/testing.c |    1 -
 tests/libpeas/testing/testing.c     |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/tests/libpeas-gtk/testing/testing.c b/tests/libpeas-gtk/testing/testing.c
index 425fd53..77755b0 100644
--- a/tests/libpeas-gtk/testing/testing.c
+++ b/tests/libpeas-gtk/testing/testing.c
@@ -111,7 +111,6 @@ testing_engine_new (void)
 
   peas_engine_add_search_path (engine, BUILDDIR "/tests/plugins", NULL);
   peas_engine_add_search_path (engine, BUILDDIR "/tests/libpeas-gtk/plugins", NULL);
-  peas_engine_rescan_plugins (engine);
 
   initialized = TRUE;
 
diff --git a/tests/libpeas/testing/testing.c b/tests/libpeas/testing/testing.c
index 318a39d..d0dd7e3 100644
--- a/tests/libpeas/testing/testing.c
+++ b/tests/libpeas/testing/testing.c
@@ -122,7 +122,6 @@ testing_engine_new (void)
 
   peas_engine_add_search_path (engine, BUILDDIR "/tests/plugins", NULL);
   peas_engine_add_search_path (engine, BUILDDIR "/tests/libpeas/plugins", NULL);
-  peas_engine_rescan_plugins (engine);
 
   initialized = TRUE;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]