summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivek Dasmohapatra <vivek@collabora.co.uk>2010-09-16 15:52:46 +0100
committerVivek Dasmohapatra <vivek@collabora.co.uk>2010-09-16 15:52:46 +0100
commitbe83db16e4cba060da074a1c4e2db22596310d37 (patch)
tree5f62b91b66dd0bd795cae8720353bd6fb588a713
parent51b5efe07c8c14f5d54183561aed95c2cb7926ee (diff)
downloadtelepathy-mission-control-be83db16e4cba060da074a1c4e2db22596310d37.tar.gz
If keyring support is off, we define stubroutines, we dn't #if them out
The unused definition warning -> error will bite us if we both define a noop stubroutine _and_ #if the use of that name out as well.
-rw-r--r--test/account-store-default.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/account-store-default.c b/test/account-store-default.c
index 32c0fe42..0d119959 100644
--- a/test/account-store-default.c
+++ b/test/account-store-default.c
@@ -217,9 +217,7 @@ default_get (const gchar *account,
if (g_str_has_prefix (key, "param-"))
pkey = key + strlen("param-");
-#if ENABLE_GNOME_KEYRING
value = _get_secret_from_keyring (account, pkey);
-#endif
if (value == NULL)
value = g_key_file_get_string (default_keyfile (), account, key, NULL);