From fc32c394e77edcf762347793e6b7acca3631d9d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Tue, 15 Nov 2011 09:01:42 -0500 Subject: [PATCH] config: Don't print warning when XDG_CONFIG_HOME isn't set According to the spec, it's ok for this not to be set and just means that we should default to $HOME/.config. --- clients/config.c | 3 --- clients/desktop-shell.c | 2 -- 2 files changed, 5 deletions(-) diff --git a/clients/config.c b/clients/config.c index 42acee76..f5319eba 100644 --- a/clients/config.c +++ b/clients/config.c @@ -147,9 +147,6 @@ config_file_path(const char *name) config_dir = getenv("XDG_CONFIG_HOME"); if (!config_dir) { - fprintf(stderr, "XDG_CONFIG_HOME is not set," - " falling back to $HOME/.config\n"); - home_dir = getenv("HOME"); if (!home_dir) { fprintf(stderr, "HOME is not set, using cwd.\n"); diff --git a/clients/desktop-shell.c b/clients/desktop-shell.c index 89c8a751..d1b1d7d4 100644 --- a/clients/desktop-shell.c +++ b/clients/desktop-shell.c @@ -370,8 +370,6 @@ int main(int argc, char *argv[]) &desktop); free(config_file); - printf("panel color: %08x\n", key_panel_color); - desktop_shell_set_panel(desktop.shell, window_get_wl_surface(desktop.panel->window));