cleanup: Always use single quotes

We have made good progress with transitioning to the new style,
to the point where we can complete it with a final push.

Start with changing the remaining places that still use double
quotes.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2866>
This commit is contained in:
Florian Müllner
2023-08-07 00:34:20 +02:00
committed by Marge Bot
parent 77fdfba45c
commit 6a22af83dc
47 changed files with 164 additions and 165 deletions

View File

@ -174,7 +174,7 @@ export async function disableHelperAutoExit() {
export function defineScriptEvent(name, description) {
Shell.PerfLog.get_default().define_event(`script.${name}`,
description,
"");
'');
}
/**
@ -222,7 +222,7 @@ function _collect(scriptModule, outputFile) {
Gio.FileCreateFlags.NONE,
null);
let out = Gio.BufferedOutputStream.new_sized(raw, 4096);
Shell.write_string_to_stream(out, "{\n");
Shell.write_string_to_stream(out, '{\n');
Shell.write_string_to_stream(out, '"events":\n');
Shell.PerfLog.get_default().dump_events(out);