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.
This commit is contained in:
Kristian Høgsberg 2011-11-15 09:01:42 -05:00
parent 668dd56918
commit fc32c394e7
2 changed files with 0 additions and 5 deletions

View file

@ -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");

View file

@ -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));