Skip to content

Commit

Permalink
Silence some startup warnings.
Browse files Browse the repository at this point in the history
This could maybe be improved so we wait until display config
is available before updating xsettings (this happens in shell now)
but Cinnamon is used to having csd-xsettings already running when
it starts, so keep it that way for now.
  • Loading branch information
mtwebster committed May 6, 2022
1 parent 8edc3fb commit e0a352b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/xsettings/csd-xsettings-manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ get_window_scale (CinnamonSettingsXSettingsManager *manager)
NULL,
&error);
if (!current_state) {
g_warning ("Failed to get current display configuration state: %s",
g_debug ("Failed to get current display configuration state: %s",
error->message);
return 1;
}
Expand Down Expand Up @@ -1107,7 +1107,7 @@ animations_enabled_changed (CinnamonSettingsXSettingsManager *manager)
NULL,
&error);
if (!res) {
g_warning ("Failed to get AnimationsEnabled state from Cinnamon: %s",
g_debug ("Failed to get AnimationsEnabled state from Cinnamon: %s",
error->message);
} else {
g_variant_get (res, "(v)", &animations_enabled_variant);
Expand Down

0 comments on commit e0a352b

Please sign in to comment.