From 044fa942c1474a6f89dfebed9edff42f5b1e5daf Mon Sep 17 00:00:00 2001 From: Scott Balneaves Date: Tue, 5 Jan 2016 09:46:57 -0600 Subject: [PATCH] Don't hardcode the config dir, instead, use the config.h supplied value. --- src/lightdm-webkit2-greeter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lightdm-webkit2-greeter.c b/src/lightdm-webkit2-greeter.c index 2437503..eac9f62 100644 --- a/src/lightdm-webkit2-greeter.c +++ b/src/lightdm-webkit2-greeter.c @@ -190,7 +190,7 @@ main(int argc, char **argv) { // Apply greeter settings from conf file keyfile = g_key_file_new(); - g_key_file_load_from_file(keyfile, "/etc/lightdm/lightdm-webkit2-greeter.conf", G_KEY_FILE_NONE, NULL); + g_key_file_load_from_file(keyfile, CONFIG_DIR "/lightdm-webkit2-greeter.conf", G_KEY_FILE_NONE, NULL); theme = g_key_file_get_string(keyfile, "greeter", "webkit-theme", NULL); config_timeout = g_key_file_get_integer(keyfile, "greeter", "screensaver-timeout", NULL);