diff options
-rw-r--r-- | tests/libpeas-gtk/plugin-manager.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/libpeas-gtk/plugin-manager.c b/tests/libpeas-gtk/plugin-manager.c index 614ccea..f2e9147 100644 --- a/tests/libpeas-gtk/plugin-manager.c +++ b/tests/libpeas-gtk/plugin-manager.c @@ -27,6 +27,11 @@ #include <libpeas/peas-i18n-priv.h> #include <libpeas-gtk/peas-gtk.h> +#ifdef G_OS_WIN32 +#define WIN32_LEAN_AND_MEAN +#include <windows.h> +#endif + #include "testing/testing.h" typedef struct _TestFixture TestFixture; @@ -381,6 +386,10 @@ main (int argc, { testing_init (&argc, &argv); +#ifdef G_OS_WIN32 + SetThreadLocale (MAKELCID (MAKELANGID (LANG_ENGLISH, SUBLANG_ENGLISH_US), SORT_DEFAULT)); +#endif + #define TEST(path, ftest) \ g_test_add ("/gtk/plugin-manager/" path, TestFixture, \ (gpointer) test_gtk_plugin_manager_##ftest, \ |