[gnome-sound-recorder] application: Fix linting



commit d54247babdea8860d59cd647b255d9d47a3e724f
Author: Gaurav Agrawal <agrawalgaurav1999 gmail com>
Date:   Mon Mar 2 23:55:28 2020 +0530

    application: Fix linting

 src/application.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/application.js b/src/application.js
index 35d4a41..f4c713e 100644
--- a/src/application.js
+++ b/src/application.js
@@ -85,10 +85,10 @@ var Application = GObject.registerClass(class Application extends Gtk.Applicatio
         this._initAppMenu();
         application = this;
         settings = new Gio.Settings({ schema: pkg.name });
-        this.ensure_directory();
+        this.ensureDirectory();
     }
 
-    ensure_directory() {
+    ensureDirectory() {
         /* Translators: "Recordings" here refers to the name of the directory where the application places 
files */
         let path = GLib.build_filenamev([GLib.get_home_dir(), _('Recordings')]);
 
@@ -116,7 +116,7 @@ var Application = GObject.registerClass(class Application extends Gtk.Applicatio
     _showPreferences() {
         let preferencesDialog = new Preferences.Preferences();
 
-        preferencesDialog.widget.connect('response', (widget, response) => {
+        preferencesDialog.widget.connect('response', () => {
             preferencesDialog.widget.destroy();
         });
     }


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