aboutsummaryrefslogtreecommitdiff
path: root/tests/glib-fixture.h
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-08-20 22:35:16 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-08-20 22:35:16 -0500
commit1b90575c67de3cf6459785cc18e3d661a826bece (patch)
tree6ea2f73a4556c89b8dffd761e53a5e0892d08dac /tests/glib-fixture.h
parentec2c7ec58b192e0b907239ad1ff840fe69b4da56 (diff)
downloadayatana-indicator-display-1b90575c67de3cf6459785cc18e3d661a826bece.tar.gz
ayatana-indicator-display-1b90575c67de3cf6459785cc18e3d661a826bece.tar.bz2
ayatana-indicator-display-1b90575c67de3cf6459785cc18e3d661a826bece.zip
add rotation lock indicator
Diffstat (limited to 'tests/glib-fixture.h')
-rw-r--r--tests/glib-fixture.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/glib-fixture.h b/tests/glib-fixture.h
index 4c53244..a8f3a76 100644
--- a/tests/glib-fixture.h
+++ b/tests/glib-fixture.h
@@ -84,6 +84,8 @@ class GlibFixture : public ::testing::Test
g_log_set_default_handler(default_log_handler, this);
+ g_assert(g_setenv("GSETTINGS_BACKEND", "memory", true));
+
g_unsetenv("DISPLAY");
}