Skip to content

Commit f74056d

Browse files
author
Jeremy Wootten
authored
Reduce terminal noise (#1323)
1 parent 1c1778f commit f74056d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/Widgets/DocumentView.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public class Scratch.Widgets.DocumentView : Granite.Widgets.DynamicNotebook {
176176
private void insert_document (Scratch.Services.Document doc, int pos) {
177177
insert_tab (doc, pos);
178178
if (Scratch.saved_state.get_boolean ("outline-visible")) {
179-
warning ("setting outline visible");
179+
debug ("setting outline visible");
180180
doc.show_outline (true);
181181
}
182182
}

src/Widgets/SourceView.vala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,6 @@ namespace Scratch.Widgets {
298298
critical (e.message);
299299
}
300300

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

0 commit comments

Comments
 (0)