Skip to content

Commit

Permalink
Reduce terminal noise (#1323)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Wootten authored Jun 5, 2023
1 parent 1c1778f commit f74056d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/Widgets/DocumentView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public class Scratch.Widgets.DocumentView : Granite.Widgets.DynamicNotebook {
private void insert_document (Scratch.Services.Document doc, int pos) {
insert_tab (doc, pos);
if (Scratch.saved_state.get_boolean ("outline-visible")) {
warning ("setting outline visible");
debug ("setting outline visible");
doc.show_outline (true);
}
}
Expand Down
1 change: 0 additions & 1 deletion src/Widgets/SourceView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,6 @@ namespace Scratch.Widgets {
critical (e.message);
}

var gtk_settings = Gtk.Settings.get_default ();
if (settings.get_boolean ("follow-system-style")) {
var system_prefers_dark = Granite.Settings.get_default ().prefers_color_scheme == Granite.Settings.ColorScheme.DARK;
if (system_prefers_dark) {
Expand Down

0 comments on commit f74056d

Please sign in to comment.