cleanup: Fix up "special" comments

Our coding style asks for a space after the comment start, which
some of our ASCII-artsy comments violate. Adjust them to fit the
rule, or remove them altogether.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/731
This commit is contained in:
Florian Müllner 2019-08-20 02:31:52 +02:00
parent 471165ca9b
commit 5b3935fa43
3 changed files with 9 additions and 13 deletions

View File

@ -84,9 +84,9 @@ function _findProviderForSid(sid) {
} }
//------------------------------------------------------------------------------ // ----------------------------------------------------- //
// Support for the old ModemManager interface (MM < 0.7) // Support for the old ModemManager interface (MM < 0.7) //
//------------------------------------------------------------------------------ // ----------------------------------------------------- //
// The following are not the complete interfaces, just the methods we need // The following are not the complete interfaces, just the methods we need
@ -182,9 +182,9 @@ var ModemCdma = class {
Signals.addSignalMethods(ModemCdma.prototype); Signals.addSignalMethods(ModemCdma.prototype);
//------------------------------------------------------------------------------ // ------------------------------------------------------- //
// Support for the new ModemManager1 interface (MM >= 0.7) // Support for the new ModemManager1 interface (MM >= 0.7) //
//------------------------------------------------------------------------------ // ------------------------------------------------------- //
const BroadbandModemInterface = loadInterfaceXML('org.freedesktop.ModemManager1.Modem'); const BroadbandModemInterface = loadInterfaceXML('org.freedesktop.ModemManager1.Modem');
const BroadbandModemProxy = Gio.DBusProxy.makeProxyWrapper(BroadbandModemInterface); const BroadbandModemProxy = Gio.DBusProxy.makeProxyWrapper(BroadbandModemInterface);

View File

@ -137,9 +137,9 @@ function *run() {
Main.overview.hide(); Main.overview.hide();
yield Scripting.waitLeisure(); yield Scripting.waitLeisure();
//////////////////////////////////////// // --------------------- //
// Tests of redraw speed // Tests of redraw speed //
//////////////////////////////////////// // --------------------- //
global.frame_timestamps = true; global.frame_timestamps = true;
global.frame_finish_timestamp = true; global.frame_finish_timestamp = true;
@ -186,8 +186,6 @@ function *run() {
yield Scripting.sleep(1000); yield Scripting.sleep(1000);
////////////////////////////////////////
let appSys = Shell.AppSystem.get_default(); let appSys = Shell.AppSystem.get_default();
let app = appSys.lookup_app('org.gnome.gedit.desktop'); let app = appSys.lookup_app('org.gnome.gedit.desktop');

View File

@ -72,8 +72,6 @@ function startAppForMount(app, mount) {
return retval; return retval;
} }
/******************************************/
const HotplugSnifferIface = loadInterfaceXML('org.gnome.Shell.HotplugSniffer'); const HotplugSnifferIface = loadInterfaceXML('org.gnome.Shell.HotplugSniffer');
const HotplugSnifferProxy = Gio.DBusProxy.makeProxyWrapper(HotplugSnifferIface); const HotplugSnifferProxy = Gio.DBusProxy.makeProxyWrapper(HotplugSnifferIface);
function HotplugSniffer() { function HotplugSniffer() {