[polari/gnome-3-38] cleanup: Remove empty leading/trailing lines in blocks
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari/gnome-3-38] cleanup: Remove empty leading/trailing lines in blocks
- Date: Sat, 16 Jan 2021 02:02:04 +0000 (UTC)
commit ed5ae0a826bfbf567ca7a1f8832815ccc9041485
Author: Florian Müllner <fmuellner gnome org>
Date: Sat Nov 14 02:13:10 2020 +0100
cleanup: Remove empty leading/trailing lines in blocks
gjs added a new rule to its eslint ruleset that forbids "block padding",
so make sure we conform to that rule before syncing up the configuration.
https://gitlab.gnome.org/GNOME/polari/-/merge_requests/167
src/chatView.js | 1 -
src/initialSetup.js | 1 -
src/roomList.js | 1 -
src/roomStack.js | 1 -
4 files changed, 4 deletions(-)
---
diff --git a/src/chatView.js b/src/chatView.js
index 0b37c79c..a7d2406a 100644
--- a/src/chatView.js
+++ b/src/chatView.js
@@ -107,7 +107,6 @@ class TextView extends Gtk.TextView {
if (hasClip &&
clip.y <= layoutY + layoutHeight &&
clip.y + clip.height >= layoutY) {
-
Gdk.cairo_set_source_rgba(cr, this._dimColor);
cr.moveTo(layoutX, layoutY);
diff --git a/src/initialSetup.js b/src/initialSetup.js
index 2c3ef0d3..9e63a4b3 100644
--- a/src/initialSetup.js
+++ b/src/initialSetup.js
@@ -21,7 +21,6 @@ var InitialSetupWindow = GObject.registerClass({
],
}, class InitialSetupWindow extends Gtk.Window {
_init(params) {
-
super._init(params);
this._currentAccount = null;
diff --git a/src/roomList.js b/src/roomList.js
index c1fcc2de..22c0c8d3 100644
--- a/src/roomList.js
+++ b/src/roomList.js
@@ -479,7 +479,6 @@ var RoomListHeader = GObject.registerClass({
_getErrorLabel() {
switch (this._account.connection_error) {
-
case Tp.error_get_dbus_name(Tp.Error.CERT_REVOKED):
case Tp.error_get_dbus_name(Tp.Error.CERT_INSECURE):
case Tp.error_get_dbus_name(Tp.Error.CERT_LIMIT_EXCEEDED):
diff --git a/src/roomStack.js b/src/roomStack.js
index b18023ea..003e8511 100644
--- a/src/roomStack.js
+++ b/src/roomStack.js
@@ -156,7 +156,6 @@ class ChannelErrorBar extends MessageInfoBar {
this._updateLabels();
this.revealed = true;
});
-
}
_updateLabels() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]