[gnome-sound-recorder/wip/cdavis/gtk4] remove uneeded show calls



commit 0170e5cba0db94d53d6d241f4fd2673e23a95037
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Thu Nov 18 22:18:11 2021 +0100

    remove uneeded show calls

 src/waveform.js | 2 --
 src/window.js   | 1 -
 2 files changed, 3 deletions(-)
---
diff --git a/src/waveform.js b/src/waveform.js
index 3737bd0..a034719 100644
--- a/src/waveform.js
+++ b/src/waveform.js
@@ -76,8 +76,6 @@ var WaveForm = GObject.registerClass({
         }
 
         this.set_draw_func(this.drawFunc);
-
-        this.show();
     }
 
     gesturePressed(nPress, x) {
diff --git a/src/window.js b/src/window.js
index 472947b..b8989d6 100644
--- a/src/window.js
+++ b/src/window.js
@@ -91,7 +91,6 @@ var Window = GObject.registerClass({
         this.recorderWidget.connect('stopped', this.onRecorderStopped.bind(this));
         this.insert_action_group('recorder', this.recorderWidget.actionsGroup);
         this._emptyPage.icon_name = `${pkg.name}-symbolic`;
-        this.show();
     }
 
     vfunc_close_request() {


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