From 53ad4da7c67658e8f0176e55dace2f3bd7a73061 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Wed, 24 Feb 2021 16:46:25 +0100 Subject: [PATCH] Remove useless run method override --- src/appBase.js | 5 ----- src/mainRemote.js | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/appBase.js b/src/appBase.js index 9d4b26e7..ce0541fc 100644 --- a/src/appBase.js +++ b/src/appBase.js @@ -62,11 +62,6 @@ class ClapperAppBase extends Gtk.Application ); } - run(arr) - { - super.run(arr || []); - } - _onFirstActivate() { const gtkSettings = Gtk.Settings.get_default(); diff --git a/src/mainRemote.js b/src/mainRemote.js index dc20ddf5..19b37a63 100644 --- a/src/mainRemote.js +++ b/src/mainRemote.js @@ -9,7 +9,7 @@ const ID_POSTFIX = 'Remote'; Misc.clapperPath = `${pkg.datadir}/${Misc.appId}`; Misc.appId += '.' + ID_POSTFIX; -function main() +function main(argv) { - new AppRemote().run(); + new AppRemote().run(argv); }