gio/tests/tls-certificates: fix
[platform/upstream/glib.git] / gio / tests / appmonitor.c
index 4ea9b7c..425a600 100644 (file)
@@ -104,6 +104,7 @@ main (int argc, char *argv[])
   gchar *path;
 
   path = g_mkdtemp (g_strdup ("app_monitor_XXXXXX"));
+  g_setenv ("XDG_DATA_DIRS", path, TRUE);
   g_setenv ("XDG_DATA_HOME", path, TRUE);
 
   g_test_init (&argc, &argv, NULL);