[gnome-sound-recorder] mainWindow: remove view declaration
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sound-recorder] mainWindow: remove view declaration
- Date: Sat, 6 Jun 2020 09:24:30 +0000 (UTC)
commit 7fb3b3c1b6039b029dc25ff3d25e3176cee8acdd
Author: Kavan Mevada <kavanmevada gmail com>
Date: Sat Jun 6 14:09:49 2020 +0530
mainWindow: remove view declaration
src/mainWindow.js | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/src/mainWindow.js b/src/mainWindow.js
index c5ad400..23281da 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -1,4 +1,4 @@
-/* exported MainWindow view */
+/* exported MainWindow */
/*
* Copyright 2013 Meg Ford
* This library is free software; you can redistribute it and/or
@@ -29,8 +29,6 @@ const Player = imports.player.Player;
const Recorder = imports.recorder.Recorder;
const WaveForm = imports.waveform.WaveForm;
-var view = null;
-
var MainWindow = GObject.registerClass({
Template: 'resource:///org/gnome/SoundRecorder/ui/window.ui',
InternalChildren: ['recordTimeLabel', 'mainStack', 'recordGrid', 'listBox', 'emptyIcon'],
@@ -45,7 +43,6 @@ var MainWindow = GObject.registerClass({
this.player = new Player();
this.waveform = new WaveForm();
this._recordGrid.add(this.waveform);
- view = this;
this._recorder.connect('waveform', (_, time, peak) => {
this.waveform._drawEvent(time, peak);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]