[gnome-shell] cleanup: Fix up "special" comments



commit 5b3935fa43c91e4aea62b65fd0bdf4ac7771e841
Author: Florian Müllner <fmuellner gnome org>
Date:   Tue Aug 20 02:31:52 2019 +0200

    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

 js/misc/modemManager.js            | 12 ++++++------
 js/perf/hwtest.js                  |  8 +++-----
 js/ui/components/autorunManager.js |  2 --
 3 files changed, 9 insertions(+), 13 deletions(-)
---
diff --git a/js/misc/modemManager.js b/js/misc/modemManager.js
index f7240b67c9..673db60f86 100644
--- a/js/misc/modemManager.js
+++ b/js/misc/modemManager.js
@@ -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
@@ -182,9 +182,9 @@ var ModemCdma = class {
 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 BroadbandModemProxy = Gio.DBusProxy.makeProxyWrapper(BroadbandModemInterface);
diff --git a/js/perf/hwtest.js b/js/perf/hwtest.js
index fa24563233..be7392984d 100644
--- a/js/perf/hwtest.js
+++ b/js/perf/hwtest.js
@@ -137,9 +137,9 @@ function *run() {
     Main.overview.hide();
     yield Scripting.waitLeisure();
 
-    ////////////////////////////////////////
-    // Tests of redraw speed
-    ////////////////////////////////////////
+    // --------------------- //
+    // Tests of redraw speed //
+    // --------------------- //
 
     global.frame_timestamps = true;
     global.frame_finish_timestamp = true;
@@ -186,8 +186,6 @@ function *run() {
 
     yield Scripting.sleep(1000);
 
-    ////////////////////////////////////////
-
     let appSys = Shell.AppSystem.get_default();
     let app = appSys.lookup_app('org.gnome.gedit.desktop');
 
diff --git a/js/ui/components/autorunManager.js b/js/ui/components/autorunManager.js
index cb0c6b6a3d..751c45a890 100644
--- a/js/ui/components/autorunManager.js
+++ b/js/ui/components/autorunManager.js
@@ -72,8 +72,6 @@ function startAppForMount(app, mount) {
     return retval;
 }
 
-/******************************************/
-
 const HotplugSnifferIface = loadInterfaceXML('org.gnome.Shell.HotplugSniffer');
 const HotplugSnifferProxy = Gio.DBusProxy.makeProxyWrapper(HotplugSnifferIface);
 function HotplugSniffer() {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]