[gnome-shell-extensions/wip/fmuellner/cleanups: 6/13] cleanup: Remove unhelpful unused init() argument
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-extensions/wip/fmuellner/cleanups: 6/13] cleanup: Remove unhelpful unused init() argument
- Date: Mon, 28 Jan 2019 04:15:18 +0000 (UTC)
commit ab39c1509f8ab1b44dfe987898684335f81b661b
Author: Florian Müllner <fmuellner gnome org>
Date: Sat Jan 26 22:04:09 2019 +0100
cleanup: Remove unhelpful unused init() argument
Virtually all extensions use the getCurrentExtension() helper instead
of the obscure init() argument, and we are no exception.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/49
extensions/apps-menu/extension.js | 2 +-
extensions/workspace-indicator/extension.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/extensions/apps-menu/extension.js b/extensions/apps-menu/extension.js
index 3096c25..7a3690c 100644
--- a/extensions/apps-menu/extension.js
+++ b/extensions/apps-menu/extension.js
@@ -761,6 +761,6 @@ function disable() {
activitiesButton.container.show();
}
-function init(metadata) {
+function init() {
Convenience.initTranslations();
}
diff --git a/extensions/workspace-indicator/extension.js b/extensions/workspace-indicator/extension.js
index f7288fb..5f14c4e 100644
--- a/extensions/workspace-indicator/extension.js
+++ b/extensions/workspace-indicator/extension.js
@@ -134,7 +134,7 @@ class WorkspaceIndicator extends PanelMenu.Button {
}
});
-function init(meta) {
+function init() {
Convenience.initTranslations();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]