aboutsummaryrefslogtreecommitdiffstats
path: root/camel/tests/folder/test3.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/tests/folder/test3.c')
-rw-r--r--camel/tests/folder/test3.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/camel/tests/folder/test3.c b/camel/tests/folder/test3.c
index 1449821d91..f7894824d7 100644
--- a/camel/tests/folder/test3.c
+++ b/camel/tests/folder/test3.c
@@ -1,10 +1,9 @@
/* folder/index testing */
-#include <gtk/gtk.h>
-
#include <string.h>
#include "camel-test.h"
+#include "camel-test-provider.h"
#include "messages.h"
#include "folders.h"
#include "session.h"
@@ -139,6 +138,7 @@ run_search(CamelFolder *folder, int m)
pull();
}
+static const char *local_drivers[] = { "local" };
static char *stores[] = {
"mbox:///tmp/camel-test/mbox",
@@ -157,8 +157,8 @@ int main(int argc, char **argv)
int indexed;
GPtrArray *uids;
- gtk_init(&argc, &argv);
camel_test_init(argc, argv);
+ camel_test_provider_init(1, local_drivers);
ex = camel_exception_new();